3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hasil = 52.5; $array1 = array(0,40,65); $array2 = array(40,65,80); $array3 = array(65,80,100); $result = array_intersect($array2, $array3); print_r($result); echo $array1[0][1]; // 40 if ($hasil >= $result ){ echo "true"; }else{echo "false";}
Output for git.master, git.master_jit
Array ( [1] => 65 [2] => 80 ) Warning: Trying to access array offset on value of type int in /in/ZtL4u on line 9 false
Output for rfc.property-hooks
Array ( [1] => 65 [2] => 80 ) Warning: Trying to access array offset on int in /in/ZtL4u on line 9 false

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
40.66 ms | 401 KiB | 8 Q