3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mystring = 'This Question is about php strings'; $wordsToFind = array('php','string','Question'); foreach ($wordsToFind as $word) if (strpos($mystring, $word)) echo '$word has been found;

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.270.0070.06318.94
5.4.260.0170.05318.75
5.4.250.0070.05718.94
5.4.240.0130.07718.98
5.4.230.0170.05018.79
5.4.220.0200.06319.02
5.4.210.0230.03718.97
5.4.200.0070.07718.75
5.4.190.0200.05318.70
5.4.180.0100.06019.09
5.4.170.0070.06018.64
5.4.160.0130.06718.75
5.4.150.0130.06018.79
5.4.140.0100.05316.38
5.4.130.0030.07716.59
5.4.120.0170.05316.42
5.4.110.0130.05016.62
5.4.100.0100.05016.57
5.4.90.0200.05016.41
5.4.80.0030.05716.38
5.4.70.0100.05716.57
5.4.60.0100.04716.36
5.4.50.0070.05716.39
5.4.40.0200.05716.44
5.4.30.0170.06716.45
5.4.20.0200.05716.46
5.4.10.0130.05716.38
5.4.00.0170.05716.03
5.3.280.0130.06714.48
5.3.270.0200.06014.48
5.3.260.0030.06014.61
5.3.250.0100.07714.38
5.3.240.0070.06014.63
5.3.230.0200.06714.64
5.3.220.0070.05314.62
5.3.210.0130.05014.41
5.3.200.0100.07314.58
5.3.190.0100.05714.45
5.3.180.0170.06014.42
5.3.170.0130.06714.34
5.3.160.0100.05714.26
5.3.150.0170.05014.48
5.3.140.0100.07314.57
5.3.130.0230.03714.70
5.3.120.0030.06314.70
5.3.110.0170.05314.43
5.3.100.0070.05014.05
5.3.90.0130.05013.91
5.3.80.0170.06013.88
5.3.70.0070.06313.91
5.3.60.0170.06014.16
5.3.50.0130.04713.82
5.3.40.0100.04713.67
5.3.30.0100.06713.95
5.3.20.0030.06313.39
5.3.10.0100.06313.49
5.3.00.0130.05013.53
5.2.170.0130.05311.15
5.2.160.0070.04311.16
5.2.150.0100.05711.14
5.2.140.0070.06011.14
5.2.130.0070.04310.99
5.2.120.0130.04711.12
5.2.110.0030.04711.02
5.2.100.0070.04311.11
5.2.90.0100.04010.94
5.2.80.0030.05711.09
5.2.70.0200.04711.11
5.2.60.0100.04011.07
5.2.50.0100.05311.17
5.2.40.0070.04011.01
5.2.30.0100.03710.98
5.2.20.0030.05010.85
5.2.10.0100.04710.94
5.2.00.0030.06010.72
5.1.60.0030.03310.09
5.1.50.0030.04010.04
5.1.40.0170.0309.74
5.1.30.0100.04010.10
5.1.20.0030.05010.54
5.1.10.0070.04310.14
5.1.00.0130.0409.92
5.0.50.0100.0278.59
5.0.40.0000.0338.44
5.0.30.0100.0408.24
5.0.20.0070.0338.11
5.0.10.0070.0338.13
5.0.00.0030.0408.25
4.4.90.0030.0235.78
4.4.80.0070.0275.77
4.4.70.0030.0275.89
4.4.60.0000.0275.77
4.4.50.0070.0235.77
4.4.40.0000.0375.78
4.4.30.0070.0275.69
4.4.20.0030.0305.83
4.4.10.0000.0305.80
4.4.00.0000.0405.88
4.3.110.0030.0235.68
4.3.100.0100.0205.69
4.3.90.0070.0235.66
4.3.80.0070.0335.68
4.3.70.0070.0275.75
4.3.60.0000.0275.69
4.3.50.0030.0205.81
4.3.40.0070.0335.63
4.3.30.0000.0275.02
4.3.20.0030.0235.02
4.3.10.0030.0235.02
4.3.00.0030.01713.50

preferences:
142.54 ms | 1394 KiB | 7 Q