Someone actually just pointed out to me that if(-1) returns true. In
that case, I suppose my suggestion doesn't quite work.
The reason I suggest this is that I suspect people will constantly be
looking up what the constants are called.
On 12-01-28 11:17 AM, Justin Martin wrote:
E = 0
- PHP_SESSION_ACTIVE = 1
This way, one can do if(session_status()) to check if there is an active
session, rather than having to compare the result to a constant.
Any objections?
Thanks,
Justin Martin
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
ugh.
I'd like to propose simply changing the term "bogus" to "not-bug". This
would more politely and clearly indicate the nature of the way the bug
is being closed, in addition to the comment that one ordinarily leaves.
Those I've spoken to in php.doc agree. Any
ith a better understanding of the compile process
illuminate me as to all of the reasons why chroot might not be available?
Thanks,
Justin Martin, a.k.a. FrozenFire
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Just a friendly prodding. Was this ever added?
Thanks,
Justin Martin
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
I suppose it's an issue of cloning. Perhaps there's some difference
between a cloned closure and a referenced closure?
Thanks,
Justin Martin
Peter Danenberg wrote:
>> First, we define $foo and load it with NULL so that it is available for
>> referencing.
>
>
ence to $foo in the closure declaration now
points to the closure itself.
Recursion is always complicated :P
Thanks,
Justin Martin
Peter Danenberg wrote:
> Quoth Justin Martin on Pungenday, the 30th of Discord:
>> Apparently it works as such:
>>
>> $foo = NULL;
In addendum I'd like to correct the syntax that I had someone in IRC test.
Apparently it works as such:
$foo = NULL;
$foo = function($foo) use (&$foo) {
...
}
Still rather hackish, but better than globals I suppose?
Thanks,
Justin Martin
Justin Martin wrote:
> Hi Pete
Hi Peter,
If I recall correctly, you can use the 'use' keyword.
$factorial = function($foo) use ($factorial) {
$factorial($foo);
}
$factorial('Hello World!');
I'm still having issues compiling 5.3 on my system, so I haven't tested
this.
Thanks,
Justin
I do like using the same INI setting name which depends on the
use_external_styles setting.
However, no stylesheet should be automatically included. The highlight
functions do not produce a whole page, except in the case of a .phps
(PHP Source file). It should be up to the user to manage how they
y a fairly large job, and
certainly not one that would be "just committed," but I believe it would
be of benefit to developers.
Thanks,
Justin
Kalle Sommer Nielsen wrote:
> Hi Justin
>
> 2009/4/2 Justin Martin :
>> Hello everyone,
>>
>> I'd like to
sion
structure. If I've submitted my proposal poorly, I apologize.
Please offer any comments you have.
Thank you,
Justin Martin aka FrozenFire
Index: Zend/zend_highlight.c
===
RCS file: /repository/ZendEngine2/zend_highlight.c,v
ret
Justin Martin wrote:
Hi there,
I have a suggestion regarding get_headers, however I do not have a
knowledge of C with which to provide a patch.
The function get_headers is, as most will know, used to retrieve headers
generated by an HTTP request. The primary parameter to this, "string
g transparent.
Any comments?
Thanks,
Justin Martin
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Pierre Joye wrote:
Hi Justin,
...
It has been moved out of php-src because the extension was not
maintained. It is in PECL's cvs but has no release (still not
maintained):
http://cvs.php.net/viewvc.cgi/pecl/w32api/
FFI is much more powerful yes. But it has been developed independently
of w3
Hello there,
Just wondering if there is any interest in bringing w32api up to speed.
The docs say it was moved to PECL as of 5.1.0, however is this not the
case. Rumor has it that it was to be replaced by ffi, however again,
this is not the case (ffi is in alpha and probably dead).
Anyone sh
16 matches
Mail list logo