3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "Hi, how's it going?" $input = "I'm not saying anything about anything"; $function = 'strpos(strtolower($input), \'testing\');'; echo $function; echo eval($function);

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.390.0970.05018.77
5.4.380.0870.07718.63
5.4.370.1230.06718.63
5.4.360.1000.05718.46
5.4.350.1170.05018.54
5.4.340.1100.04318.53
5.4.320.1070.06318.84
5.4.310.1030.05018.72
5.4.300.1030.04718.75
5.4.290.1030.05018.69
5.4.280.0900.06318.52
5.4.270.1070.05018.52
5.4.260.1000.05318.52
5.4.250.0930.06018.52
5.4.240.1000.06318.46
5.4.230.0930.05718.75
5.4.220.0900.06318.79
5.4.210.0970.05318.82
5.4.200.1130.03716.59
5.4.190.1200.07318.51
5.4.180.1070.05318.70
5.4.170.1030.06018.52
5.4.160.1070.04018.76
5.4.150.1000.05018.60
5.4.140.0970.05016.47
5.4.130.1000.05316.27
5.4.120.0870.05316.31
5.4.110.1030.04316.30
5.4.100.1000.05016.18
5.4.90.1000.05716.32
5.4.80.1030.04016.29
5.4.70.0970.05016.18
5.4.60.0900.05316.13
5.4.50.1000.04316.22
5.4.40.0970.05016.29
5.4.30.0970.05016.25
5.4.20.1000.05716.24
5.4.10.1070.05016.38
5.4.00.0970.04715.64
5.3.290.1070.05014.72
5.3.280.1070.04014.63
5.3.270.1000.05314.61
5.3.260.0970.05314.61
5.3.250.1030.04714.55
5.3.240.0930.06314.60
5.3.230.0770.06014.58
5.3.220.0930.04314.50
5.3.210.0970.05314.55
5.3.200.0970.05014.50
5.3.190.0930.05314.48
5.3.180.1030.04314.52
5.3.170.1070.04314.64
5.3.160.1000.05014.48
5.3.150.0970.05014.59
5.3.140.1030.04314.55
5.3.130.0900.06014.50
5.3.120.0930.05714.48
5.3.110.0970.05314.63
5.3.100.1030.05314.02
5.3.90.1000.04713.97
5.3.80.0930.05314.02
5.3.70.1030.05014.01
5.3.60.1070.04014.03
5.3.50.1170.03313.89
5.3.40.0930.05313.93
5.3.30.0970.05313.91
5.3.20.0970.04313.78
5.3.10.1000.05313.61
5.3.00.1000.06313.62
5.2.170.0770.05011.12
5.2.160.0830.04011.20
5.2.150.0800.05011.20
5.2.140.0730.05011.12
5.2.130.0730.05011.01
5.2.120.0870.03711.13
5.2.110.0800.04711.03
5.2.100.0830.04011.07
5.2.90.0670.05011.07
5.2.80.0700.04011.16
5.2.70.0670.04311.15
5.2.60.0670.04310.92
5.2.50.0700.04711.00
5.2.40.0670.03311.05
5.2.30.0670.04010.90
5.2.20.0600.04010.89
5.2.10.0600.04310.95
5.2.00.0700.03710.82
5.1.60.0700.0279.96
5.1.50.0600.03710.01
5.1.40.0630.03310.02
5.1.30.0630.03710.34
5.1.20.0630.03710.48
5.1.10.0600.04010.14
5.1.00.0570.03710.12
5.0.50.0270.0378.64
5.0.40.0370.0278.44
5.0.30.0400.0378.33
5.0.20.0300.0308.23
5.0.10.0430.0138.18
5.0.00.0300.0438.17
4.4.90.0330.0235.92
4.4.80.0300.0235.83
4.4.70.0330.0205.88
4.4.60.0330.0275.89
4.4.50.0330.0205.82
4.4.40.0300.0375.86
4.4.30.0430.0275.89
4.4.20.0330.0235.94
4.4.10.0330.0206.01
4.4.00.0300.0405.93
4.3.110.0430.0135.80
4.3.100.0330.0235.84
4.3.90.0370.0235.80
4.3.80.0400.0335.80
4.3.70.0400.0235.79
4.3.60.0470.0205.83
4.3.50.0400.0275.76
4.3.40.0330.0375.84
4.3.30.0230.0205.13
4.3.20.0200.0205.13
4.3.10.0170.0235.13
4.3.00.0130.03014.62

preferences:
140.33 ms | 1394 KiB | 7 Q