3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ob_start(); try { $ismarketing = 'n'; $arraydnismap= array("8663582353","2032007654","8602498731","2292348712","4044456908","4782549845","6785418203","7063898537","7702998468","9122095105","2525589042","3362907267","7042515891","8282027063","9102169913","9192137973","9802221556"); $dnis = $_GET["dnis"]; if (in_array($dnis,$arraydnismap)) { $ismarketing = 'y'; } print 'mark='.$ismarketing; catch(Exception $e) { echo $e; } ob_flush(); ?>
Output for 5.4.0 - 5.4.20
Parse error: syntax error, unexpected 'catch' (T_CATCH) in /in/YR77N on line 14
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_CATCH in /in/YR77N on line 14
Process exited with code 255.