Re: [PHP4BETA] Zend still crashing (testcase+purify dump included!)
| From: | Stanislav Malyshev | Date: | Tue, 21 Dec 1999 12:04:28 +0000 |
| Subject: | Re: [PHP4BETA] Zend still crashing (testcase+purify dump included!) | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8293@lists.php.net to get a copy of this message | ||
TCA>> $a = array("123");
TCA>> switch(strlen($a[0]))
TCA>> { case 2: echo "2"; break;
TCA>> case 3: echo "3"; break;
TCA>> default: break;
TCA>> }
TCA>> ?>
The weird this is that it doesn't crash on my PHP (freshly taken from
CVS), but it doesn't print 3 or 2 also! though, if I say "echo
strlen($a[0])" it gives 3. Something is not OK there.
--
Stanislav Malyshev stas@zend.com
+972-50-624945