[PHP-DEV] PHP 4.0 Bug #7140 Updated: switch() problem From: Bug Database (php-dev <email protected>)
Date: 10/11/00

ID: 7140
Updated by: stas
Reported By: zozo <email protected>
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:

You are using 4.0b3, not 4.0.3. This is old version, and old bug, which is fixed long ago. Please upgrade.

Previous Comments:
---------------------------------------------------------------------------

[2000-10-11 15:30:39] zozo <email protected>
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

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=7140

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>