3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'How are you' if (strstr($a,'are') !== false) { echo 'true'; } ?>

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.260.0070.05318.83
5.4.250.0230.03718.69
5.4.240.0130.04318.91
5.4.230.0130.07719.05
5.4.220.0170.05018.91
5.4.210.0030.05718.78
5.4.200.0030.05718.93
5.4.190.0030.05718.74
5.4.180.0100.04718.59
5.4.170.0070.05319.03
5.4.160.0130.04318.87
5.4.150.0000.06318.70
5.4.140.0130.04716.49
5.4.130.0000.05716.51
5.4.120.0130.04316.33
5.4.110.0100.05016.35
5.4.100.0200.05716.34
5.4.90.0070.04716.36
5.4.80.0070.05016.43
5.4.70.0030.05316.50
5.4.60.0000.05716.31
5.4.50.0100.04716.33
5.4.40.0070.05316.47
5.4.30.0030.05016.26
5.4.20.0200.03716.40
5.4.10.0100.05016.30
5.4.00.0070.05015.97
5.3.280.0130.04314.75
5.3.270.0230.05314.30
5.3.260.0130.04714.63
5.3.250.0070.05014.61
5.3.240.0130.04314.38
5.3.230.0130.04714.69
5.3.220.0200.06014.44
5.3.210.0100.07714.42
5.3.200.0130.04314.42
5.3.190.0130.04314.44
5.3.180.0130.04314.42
5.3.170.0100.04714.57
5.3.160.0100.04714.61
5.3.150.0170.04014.34
5.3.140.0130.07014.56
5.3.130.0130.04714.59
5.3.120.0130.06014.39
5.3.110.0100.05014.54
5.3.100.0130.04713.73
5.3.90.0130.06013.89
5.3.80.0000.05313.90
5.3.70.0130.04313.89
5.3.60.0100.05714.04
5.3.50.0100.04713.79
5.3.40.0100.05014.10
5.3.30.0100.04713.93
5.3.20.0070.04713.72
5.3.10.0070.04313.50
5.3.00.0170.04713.79
5.2.170.0030.04011.04
5.2.160.0130.03011.06
5.2.150.0100.03711.02
5.2.140.0030.05311.15
5.2.130.0070.04011.19
5.2.120.0030.04711.01
5.2.110.0070.03711.20
5.2.100.0030.04011.03
5.2.90.0130.05010.98
5.2.80.0000.04711.04
5.2.70.0030.04311.09
5.2.60.0030.04010.96
5.2.50.0030.04311.04
5.2.40.0070.04710.93
5.2.30.0070.06011.06
5.2.20.0030.04010.89
5.2.10.0030.04010.93
5.2.00.0100.03710.77
5.1.60.0030.03710.23
5.1.50.0130.0409.95
5.1.40.0070.03710.04
5.1.30.0070.03310.49
5.1.20.0130.02710.43
5.1.10.0030.0379.83
5.1.00.0100.03010.26
5.0.50.0030.0308.63
5.0.40.0170.0238.27
5.0.30.0070.0407.98
5.0.20.0070.0238.25
5.0.10.0000.0308.12
5.0.00.0100.0478.39
4.4.90.0100.0136.61
4.4.80.0030.0206.61
4.4.70.0030.0306.61
4.4.60.0000.0236.61
4.4.50.0030.0206.61
4.4.40.0030.0376.61
4.4.30.0030.0236.61
4.4.20.0000.0236.61
4.4.10.0030.0206.61
4.4.00.0070.0376.61
4.3.110.0000.0236.61
4.3.100.0030.0206.61
4.3.90.0030.0206.61
4.3.80.0170.0276.61
4.3.70.0100.0136.61
4.3.60.0070.0276.61
4.3.50.0070.0306.61
4.3.40.0030.0306.61
4.3.30.0000.0236.61
4.3.20.0000.0236.61
4.3.10.0130.0206.61
4.3.00.0170.0207.39

preferences:
139.96 ms | 1394 KiB | 7 Q