3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "cao isso pala só temp que pala vai temp aparecer temp aqui cao"; $match=array(); $return = array_unique(explode(' ', $str)); if( in_array(array('cao', 'pala', 'temp'), $return){ echo 'Yes matched!'; }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.230.0090.04612.36
5.4.220.0100.04012.36
5.4.210.0090.04312.36
5.4.200.0100.04312.36
5.4.190.0110.03912.36
5.4.180.0090.04112.36
5.4.170.0110.03912.37
5.4.160.0100.04012.36
5.4.150.0150.05112.35
5.4.140.0100.04112.05
5.4.130.0110.04212.03
5.4.120.0120.04611.99
5.4.110.0110.03911.99
5.4.100.0130.03811.99
5.4.90.0100.04011.99
5.4.80.0110.04111.99
5.4.70.0130.05211.98
5.4.60.0120.04111.98
5.4.50.0130.03611.98
5.4.40.0120.03711.97
5.4.30.0090.04111.97
5.4.20.0100.03911.96
5.4.10.0090.04111.97
5.4.00.0120.03711.46
5.3.280.0120.04512.71
5.3.270.0130.04212.72
5.3.260.0140.04212.72
5.3.250.0210.04912.72
5.3.240.0130.04412.72
5.3.230.0110.04512.71
5.3.220.0190.05112.68
5.3.210.0110.04212.68
5.3.200.0100.04312.68
5.3.190.0110.04312.67
5.3.180.0120.03812.67
5.3.170.0120.04112.67
5.3.160.0120.04412.68
5.3.150.0120.04112.67
5.3.140.0110.04312.66
5.3.130.0190.06512.66
5.3.120.0120.04112.66
5.3.110.0090.04512.65
5.3.100.0120.04212.12
5.3.90.0110.04112.08
5.3.80.0130.03812.08
5.3.70.0120.03912.07
5.3.60.0080.04712.07
5.3.50.0120.04212.00
5.3.40.0130.03912.00
5.3.30.0120.03811.94
5.3.20.0130.04311.71
5.3.10.0090.04211.66
5.3.00.0110.05311.65

preferences:
136.36 ms | 1394 KiB | 7 Q