3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a1=array("table_no"=>"T2","min"=>"2"); $a2=array("table_no"=>T1); $result=array_diff($a1,$a2); print_r($result);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant T1 - assumed 'T1' in /in/SCghr on line 3 Array ( [table_no] => T2 [min] => 2 )