PHP 4.0 Bug #7140: switch() problem
| From: | zozo at iaeste dot vein dot hu | Date: | Wed, 11 Oct 2000 19:30:39 +0000 |
| Subject: | PHP 4.0 Bug #7140: switch() problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34708@lists.php.net to get a copy of this message | ||
From: zozo@iaeste.vein.hu
Operating system: linux
PHP version: 4.0.3RC1
PHP Bug Type: *General Issues
Bug description: switch() problem
When i use switch(), without any case, just a default way, php segfaults.
I tried:
switch ($func) {
default: print "qwerqrew";
}
$func was undefined.
My system is a Debian Linux 2.2 "potato".
PHP Version 4.0b3
System: Linux thunderchild 2.2.14-smp #1 SMP Thu Jan 27 02:58:56 CET 2000 i686 unknown
Build Date: Apr 9 2000
php.ini path: /etc/php4/apache
ZEND_DEBUG=1
ZTS is undefined
--
Edit Bug report at: http://bugs.php.net/?id=7140&edit=1