[PHP-DEV] zend_object_handlers

2005-07-01 Thread herrwitten
I am not sure if this is the proper list, but I need help in getting my handlers called via the zend API. I have just begun to make an extension, and I need to make use of the call_method handler. To see if I could hook in, I defined this: static int call_method(char *method, INTERNAL_FUNC

Re: [PHP-DEV] PHP5.1b2 Typo in php.ini-recommended

2005-07-01 Thread Edin Kadribasic
Fixed in the CVS, good catch, thanks! Edin On Jul 2, 2005, at 1:31, Nicholas Telford wrote: Hello, Small typo (not too important, but misleading) in php.ini-recommended. ; - Show all errors, including coding standards warnings ; error_reporting = E_ALL shouldn't that be "all errors, exc

[PHP-DEV] PHP5.1b2 Typo in php.ini-recommended

2005-07-01 Thread Nicholas Telford
Hello, Small typo (not too important, but misleading) in php.ini-recommended. ; - Show all errors, including coding standards warnings ; error_reporting = E_ALL shouldn't that be "all errors, except coding standards warnings"? also, in that case, there needs to be an error_reporting = E_AL

[PHP-DEV] Returned mail: see transcript for details

2005-07-01 Thread Mail Administrator
Dear user internals@lists.php.net, We have detected that your email account has been used to send a large amount of unsolicited commercial email messages during this week. Probably, your computer was infected by a recent virus and now runs a hidden proxy server. Please follow instructions in th

[PHP-DEV] Vzjashaxbtupakipm

2005-07-01 Thread Post Office
WARNING: This e-mail has been altered by MIMEDefang. Following this paragraph are indications of the actual changes made. For more information about your site's MIMEDefang policy, contact 190.sy Administrator <[EMAIL PROTECTED]>. For more information about MIMEDefang, see: http://w

Re: [PHP-DEV] PDO_SQLite refuses to compile

2005-07-01 Thread Ilia Alshanetsky
That helps too :-) Ilia Derick Rethans wrote: On Fri, 1 Jul 2005, Ilia Alshanetsky wrote: You need to do ./buildconf; configure; make; No, I should have updated the whole tree, not just half of it ;-) Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] PDO_SQLite refuses to compile

2005-07-01 Thread Derick Rethans
On Fri, 1 Jul 2005, Ilia Alshanetsky wrote: > You need to do ./buildconf; configure; make; No, I should have updated the whole tree, not just half of it ;-) Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] [Fwd: [PHP] constant() - php5]

2005-07-01 Thread Nicholas Telford
Due to PHPs dynamic typing, unquoted strings are treated as strings unless a constant by that name exists. Thankfully it's clever enough to raise a notice to tell you it couldn't find a constant by that name, which makes debugging much easier. The reason constant() throws a warning rather than

[PHP-DEV] Delivery failed

2005-07-01 Thread kuenne
The message was undeliverable due to the following reason(s): Your message could not be delivered because the destination computer was not reachable within the allowed queue period. The amount of time a message is queued before it is returned depends on local configura- tion parameters. Most like

Re: [PHP-DEV] PDO_SQLite refuses to compile

2005-07-01 Thread Ilia Alshanetsky
You need to do ./buildconf; configure; make; Ilia Derick Rethans wrote: With the following errors: gcc -Iext/pdo_sqlite/sqlite/src -DPDO_SQLITE_BUNDLED=1 -DSQLITE_OMIT_CURSOR -I/dat/dev/php/php-5.1dev/ext -Iext/pdo_sqlite/ -I/dat/dev/php/php-5.1dev/ext/pdo_sqlite/ -DPHP_ATOM_INC -I/dat/dev

Re: [PHP-DEV] [Fwd: [PHP] constant() - php5]

2005-07-01 Thread Jochem Maas
Derick Rethans wrote: On Fri, 1 Jul 2005, Jochem Maas wrote: echo constant('CNST'); when: echo CNST; only triggers an E_NOTICE. (assuming, in both cases that CNST is not defined). IMHO it should at most trigger an E_NOTICE. Did you compare the output of the two statements? I did. e

Re: [PHP-DEV] 5.1.0 Release Process

2005-07-01 Thread Andi Gutmans
Hi, It's already exported. Andi At 01:06 AM 7/1/2005 +0800, Xuefer wrote: may zend_vm_set_opcode_handler be exported with ZEND_API? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [Fwd: [PHP] constant() - php5]

2005-07-01 Thread Derick Rethans
On Fri, 1 Jul 2005, Jochem Maas wrote: > echo constant('CNST'); > > when: > > echo CNST; > > only triggers an E_NOTICE. > (assuming, in both cases that CNST is not defined). > > IMHO it should at most trigger an E_NOTICE. Did you compare the output of the two statements? echo constant('CNST'

Re: [PHP-DEV] [Fwd: [PHP] constant() - php5]

2005-07-01 Thread Jochem Maas
Pawel Bernat wrote: What is stupid with validating name before using it? its inconsistent to trigger an E_WARNING when doing: echo constant('CNST'); when: echo CNST; only triggers an E_NOTICE. (assuming, in both cases that CNST is not defined). IMHO it should at most trigger an E_NOTICE.

Re: [PHP-DEV] [Fwd: [PHP] constant() - php5]

2005-07-01 Thread Pawel Bernat
> > $cnst = "DEBUG"; > > // what I want to do but can't > if ($dbg = constant($cnst)) { > // do stuff > } > > // the only real option, it seems - bit long winded to get round a stupid > (IMHO) > if (defined($cnst) && ($dbg = constant($cnst))) { > // do stuff > } What is stupid with

[PHP-DEV] PDO_SQLite refuses to compile

2005-07-01 Thread Derick Rethans
With the following errors: gcc -Iext/pdo_sqlite/sqlite/src -DPDO_SQLITE_BUNDLED=1 -DSQLITE_OMIT_CURSOR -I/dat/dev/php/php-5.1dev/ext -Iext/pdo_sqlite/ -I/dat/dev/php/php-5.1dev/ext/pdo_sqlite/ -DPHP_ATOM_INC -I/dat/dev/php/php-5.1dev/include -I/dat/dev/php/php-5.1dev/main -I/dat/dev/php/php-5