3v4l.org

run code in 300+ PHP versions simultaneously
<?php // print your favorite food, then a new line echo "chiken wings\n"; // print 100 * 100, then a new line echo(100*100) // print your favorite color, then a new line // print a sentance about school, then a new line // print 99 + 785 * 9999999 - 12322, then a new line

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.6.90.0130.07320.98
5.6.80.0070.03720.39
5.5.250.0000.09020.66
5.5.240.0030.07720.28
5.4.410.0130.05018.93
5.4.400.0200.04018.73
5.4.390.0070.05318.61
5.4.380.0030.06018.61
5.4.370.0130.05018.46
5.4.360.0230.04018.67
5.4.350.0300.04718.59
5.4.340.0030.06018.50
5.4.320.0070.06018.61
5.4.310.0130.06018.46
5.4.300.0130.05018.46
5.4.290.0100.05318.53
5.4.280.0170.04718.70
5.4.270.0130.05018.70
5.4.260.0170.04718.61
5.4.250.0200.06318.70
5.4.240.0130.05718.66
5.4.230.0130.05318.60
5.4.220.0130.05718.50
5.4.210.0070.05718.71
5.4.200.0030.06016.51
5.4.190.0000.06718.67
5.4.180.0170.04718.60
5.4.170.0170.05018.62
5.4.160.0030.05718.44
5.4.150.0100.05318.73
5.4.140.0100.05016.05
5.4.130.0100.05016.36
5.4.120.0100.04716.21
5.4.110.0200.04016.16
5.4.100.0200.05016.27
5.4.90.0170.04316.21
5.4.80.0070.05316.33
5.4.70.0070.05316.28
5.4.60.0230.04016.20
5.4.50.0070.05316.31
5.4.40.0100.05316.29
5.4.30.0170.04016.18
5.4.20.0070.05316.18
5.4.10.0130.04716.22
5.4.00.0230.03715.75
5.3.290.0100.06014.72
5.3.280.0170.04714.69
5.3.270.0030.06014.59
5.3.260.0070.06014.52
5.3.250.0130.05014.68
5.3.240.0130.06314.65
5.3.230.0100.05314.56
5.3.220.0100.05014.52
5.3.210.0100.05314.57
5.3.200.0130.05014.46
5.3.190.0070.05714.54
5.3.180.0130.06714.66
5.3.170.0030.07714.51
5.3.160.0130.05014.59
5.3.150.0170.04714.65
5.3.140.0170.06314.55
5.3.130.0200.04714.46
5.3.120.0130.05314.51
5.3.110.0070.05714.66
5.3.100.0100.05314.13
5.3.90.0270.04013.93
5.3.80.0200.05713.95
5.3.70.0000.06313.93
5.3.60.0100.05013.91
5.3.50.0170.04313.93
5.3.40.0170.04313.93
5.3.30.0200.04313.89
5.3.20.0070.05713.62
5.3.10.0100.05313.57
5.3.00.0070.05013.73
5.2.170.0070.05711.08
5.2.160.0100.05011.12
5.2.150.0130.04311.18
5.2.140.0030.05011.07
5.2.130.0070.04311.08
5.2.120.0130.04711.14
5.2.110.0130.05011.14
5.2.100.0070.04311.06
5.2.90.0200.03711.08
5.2.80.0170.03311.11
5.2.70.0000.05011.10
5.2.60.0100.04011.13
5.2.50.0030.04710.94
5.2.40.0070.04010.96
5.2.30.0100.04711.02
5.2.20.0070.04011.00
5.2.10.0030.04310.91
5.2.00.0100.04010.82
5.1.60.0100.02710.13
5.1.50.0100.03310.07
5.1.40.0070.03310.04
5.1.30.0170.02710.46
5.1.20.0170.03010.34
5.1.10.0100.03310.13
5.1.00.0070.04010.09
5.0.50.0100.0278.66
5.0.40.0000.0308.44
5.0.30.0070.0438.27
5.0.20.0070.0338.38
5.0.10.0030.0308.27
5.0.00.0070.0438.19
4.4.90.0100.0175.83
4.4.80.0070.0235.82
4.4.70.0030.0235.81
4.4.60.0100.0175.88
4.4.50.0000.0275.90
4.4.40.0000.0435.88
4.4.30.0030.0235.86
4.4.20.0000.0335.94
4.4.10.0100.0175.95
4.4.00.0070.0335.93
4.3.110.0000.0275.75
4.3.100.0070.0175.75
4.3.90.0030.0235.91
4.3.80.0100.0335.79
4.3.70.0030.0205.87
4.3.60.0100.0235.83
4.3.50.0030.0305.77
4.3.40.0070.0405.88
4.3.30.0000.0274.64
4.3.20.0070.0274.64
4.3.10.0000.0274.48
4.3.00.0000.01314.44

preferences:
151.89 ms | 1394 KiB | 7 Q