Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) /tests isset_001.phpt isset_002.phpt isset_003.phpt
| From: | Dmitry Stogov | Date: | Mon, 12 May 2008 11:57:43 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) /tests isset_001.phpt isset_002.phpt isset_003.phpt | ||
| References: | 1 2 3 4 5 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-6723@lists.php.net to get a copy of this message | ||
Thanks.
The real error line was var_dump(isset(${$a}->{$b->$c[$d]}));
It's probably possible to explain why it emits warnings about $c and $d, but not simple
They are not the parts of the fetched variable.
isset($a[$b]) emits warning about $b too.
Dmitry.
Felipe Pena wrote:
Hi Dmitry I've fixed the test, however, i thought that in: var_dump(isset($c[0][1][2]->a->b->c->d)); Would shouldn't shows E_NOTICEs for 'c' and 'd', as it doesn't shows to 'a' and 'b'. As I answered to Tony when he asked me. Thanks. Em Seg, 2008-05-12 às 11:44 +0400, Dmitry Stogov escreveu:It looks like isset_001 really shows a bug in PHP_5_3 (I'll try to look into it), however isset_003 fails on PHP_5_2 and PHP_5_3 by mistake. Thanks. Dmitry. Matt Wilmas wrote:Hi Dmitry, Don't know about the one not working with PHP_5_2, but I think he added the tests because of Bug #44952, to intentionally break with 5_3 until the bug is fixed...? - Matt ----- Original Message ----- From: "Dmitry Stogov" Sent: Monday, May 12, 2008Hi Felipe, Could you please check the tests. isset_001 and isset_003 don't work with PHP_5_3 and isset_003 doesn't work with PHP_5_2. Thanks. Dmitry. Felipe Pena wrote:felipe Fri May 9 14:16:24 2008 UTCAdded files: (Branch: PHP_5_3) /ZendEngine2/tests isset_001.phpt isset_002.phpt isset_003.phptLog: - New tests