3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stupidpost=array("fbd8177e839a62d06ad0826176a0121cd7285598"=> "Dispatched", "6a68578772fb3f8bd1d657ccdae4889ead568268"]=> "Available", "a128278601bc1c977971154a9a1b382c608096ca"=>"Available", "144fb9fcea4404208d6c2f32ca6c4f96ad9b7edf"=>"Available", "submitdata"=>"Update Status" ); $string = array_search('fbd8177e839a62d06ad0826176a0121cd7285598', $stupidpost); //search the post array for input name's POST value echo $string; ?>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
Parse error: syntax error, unexpected ']', expecting ')' in /in/r1fMJ on line 2
Process exited with code 255.

preferences:
194.68 ms | 1395 KiB | 66 Q