Hi!
I provide an INI property to stop my extension from loading fully like:
if (strcmp(sapi_module.name, "cli") == 0 &&
INI_STR("plexcel.sapi.cli") &&
INI_BOOL("plexcel.sapi.cli") == 0) {
return;
}
But the extension is still loaded. It's just not
Hi!
$a = [[1, 2], [3, 4], 5, 6];
Proposed twice at least, but PHP developer community doesn't seem to
like it.
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED] http://www.zend.com/
(408)253-8829 MSN: [EMAIL PROTECTED]
--
PHP Internals - PHP Runtime Development Mailing L
Hello
Em Qui, 2008-05-22 às 05:12 +0300, Stan Vassilev | FM escreveu:
> Was this discussed before on the list?
Yes.
http://marc.info/?l=php-internals&m=119995972028293&w=2
>
> Regards,
> Stan Vassilev
--
Regards,
Felipe Pena.
--
PHP Internals - PHP Runtime Development Mailing List
To un
Hi,
I hear this often by other developers and I tend to agree with them, that
arrays are used often, and often nested, so that having a long syntax for array
literals tend to produce less legible code than in other scriping languages.
$a = array(array(1,2), array(3,4), 5, 6);
$b = array('a' =
I provide an INI property to stop my extension from loading fully like:
if (strcmp(sapi_module.name, "cli") == 0 &&
INI_STR("plexcel.sapi.cli") &&
INI_BOOL("plexcel.sapi.cli") == 0) {
return;
}
But the extension is still loaded. It's just not initia
Nothing premature about it. It was time.
UG(unicode) checks are still secondary I think - they don't prevent us
from doing tests and moving forward, although cleaning them up would be
nice.
pack() should take binary strings only, methinks.
-Andrei
Steph Fox wrote:
I would've hoped that PHP
Sometimes call time pass by reference is useful, for example when you
want to make it possible to omit an param (normally passed by
reference) by setting null. With no call time pass by reference,
programmers are required to write:
$null = null;
foo($null);
Deleting it isn't a good idea, it shoul
Hi!
Maybe the solution is simply to throw an E_STRICT when unset()-ting an
interface property? My understanding is E_STRICT is to push the
I'd have no problem with that provided it doesn't cost performance (i.e.
no additional hash lookups, etc.) and doesn't break any of __unset, etc.
semanti
Steph Fox wrote:
I looked into it again (and found things I didn't know before). This
one's bugging me enough that I braved the Wiki:
http://wiki.php.net/rfc/calltimebyref
It has:
| Proposal
|
| Switch allow_call_time_pass_reference off by default in PHP_5_3
| branch. At present there is no
On 21.05.2008 17:58, Steph Fox wrote:
Yes, I mean that problem with storing string/Unicode function names.
That patch seems to be no good, run-tests.php doesn't work after I apply
it (some functions are not found).
it'll be a lot easier to see what's going on if/when the
UG(unicode) if'n'but
Yes, I mean that problem with storing string/Unicode function names.
That patch seems to be no good, run-tests.php doesn't work after I apply
it (some functions are not found).
it'll be a lot easier to see what's going on if/when the
UG(unicode) if'n'butting goes. There's obviously a conversi
On 21.05.2008 17:50, Steph Fox wrote:
Not fix the streams issue?
Felipe has taken care of that issue, so now we have only one uber-major
issue left.
Your patch? Or the changed error message?
Yes, I mean that problem with storing string/Unicode function names.
That patch seems to be no good
Not fix the streams issue?
Felipe has taken care of that issue, so now we have only one uber-major
issue left.
Your patch? Or the changed error message?
FWIW the --EXPECT-- sections on those tests are different in 5_3 and would
pass, so maybe they should just match those?
- Steph
--
PHP
For anyone else who doesn't read to the end...
Anyway, my opinion is clear on that one: shoot that dead cow. It's
been deprecated for years, and you should declare your function
prototypes with the param by ref anyway if you need it.
All I'm asking is that we throw a warning by default in 5_3,
Is it me, or the wiki post talks about param and return by ref?
Return by ref is not related to call-time pass by ref, is it?
See zend_compile.c.
Anyway, my opinion is clear on that one: shoot that dead cow. It's
been deprecated for years, and you should declare your function
prototypes with
Hello Steph,
Is it me, or the wiki post talks about param and return by ref?
Return by ref is not related to call-time pass by ref, is it?
Anyway, my opinion is clear on that one: shoot that dead cow. It's
been deprecated for years, and you should declare your function
prototypes with the param
I looked into it again (and found things I didn't know before). This one's
bugging me enough that I braved the Wiki:
http://wiki.php.net/rfc/calltimebyref
- Steph
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On 21.05.2008 15:12, Steph Fox wrote:
Hey Tony,
First off, thanks for caring :)
And to do that we need to drop the Unicode Switch =)
Not fix the streams issue?
Felipe has taken care of that issue, so now we have only one uber-major issue
left.
--
Wbr,
Antony Dovgal
--
PHP Internals -
On 21.05.2008 15:12, Steph Fox wrote:
Hey Tony,
First off, thanks for caring :)
And to do that we need to drop the Unicode Switch =)
Not fix the streams issue?
That, too =)
--
Wbr,
Antony Dovgal
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.p
Hey Tony,
First off, thanks for caring :)
And to do that we need to drop the Unicode Switch =)
Not fix the streams issue?
I committed a fix for this one a minute ago.
Thanks!
The patch is as easy as this:
http://dev.daylessday.org/diff/fix_unicode_function_names.diff
This is the bigge
On 21.05.2008 00:21, Steph Fox wrote:
I think the test script and ZE problems should be resolved first...
And to do that we need to drop the Unicode Switch =)
plus I just discovered that my php.ini isn't being found when I run commandline
tests (e.g. php -r "var_dump(strcasecmp());" doesn't t
2008/5/20 Jonathan Bond-Caron <[EMAIL PROTECTED]>:
> +1 here
>
> A summary:
>
> PHP6 MUST not allow setting magic quotes
> PHP6 MUST trigger a fatal error when attempting to set magic quotes (php.ini
> or set_magic_quotes_runtime())
> PHP6 MUST allow getting magic quotes info (always false)
>
> PHP
On 20.05.2008 22:22, Kalle Sommer Nielsen wrote:
Greetings internals
I've made two functions that allows convertion between degress and gradians,
below is a pastebin
of the functions as that would look in math.c:
http://www.phpfi.com/318450
Functions that can be implemented in one line of PH
23 matches
Mail list logo