php-src/tests/lang/003.phpt
2004-05-19 08:45:46 +00:00

20 lines
183 B
PHP

--TEST--
Simple Switch Test
--FILE--
<?php
$a=1;
switch($a) {
case 0:
echo "bad";
break;
case 1:
echo "good";
break;
default:
echo "bad";
break;
}
?>
--EXPECT--
good