Your message dated Sat, 04 Jan 2014 10:07:16 +0800 with message-id <[email protected]> and subject line Re: switch($X){case 'Y':trigger_error("can you believe \$X is NOT Y but Z"); } has caused the Debian Bug report #734129, regarding switch($X){case 'Y':trigger_error("can you believe \$X is NOT Y but Z"); } to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 734129: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734129 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: php5-cli Version: 5.5.7+dfsg-2 Severity: important $ cat n.php <?php $wgSitename='ABJ'; $wgSitename=0; switch($wgSitename){case 'ABJ':trigger_error("can you believe \$wgSitename is $wgSitename and not ABJ?!",E_USER_WARNING);} $wgSitename=0; $wgSitename='ABJ'; switch($wgSitename){case 0:trigger_error("can you believe \$wgSitename is $wgSitename and not 0?!",E_USER_WARNING);} $ php n.php PHP Warning: can you believe $wgSitename is 0 and not ABJ?! in /mnt/usb/cf/n.php on line 4 PHP Warning: can you believe $wgSitename is ABJ and not 0?! in /mnt/usb/cf/n.php on line 7 What in the world is going on?
--- End Message ---
--- Begin Message ---OK I see, http://www.php.net/manual/en/control-structures.switch.php#86911 http://www.php.net/manual/en/control-structures.switch.php#97112 http://www.php.net/manual/en/control-structures.switch.php#84150 How awful. No wonder people write http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/
--- End Message ---

