3v4l.org

run code in 300+ PHP versions simultaneously
<?php function findAnswer(){ echo 'You don\'t have to find one. It is 42.'; return 42; } echo findAnswer(); }

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.80.0000.09320.51
5.5.240.0030.08020.19
5.4.400.0100.06018.60
5.4.390.0170.05318.50
5.4.380.0170.05318.45
5.4.370.0130.06318.49
5.4.360.0200.05018.71
5.4.350.0100.06018.80
5.4.340.0170.05318.46
5.4.320.0130.06018.70
5.4.310.0170.05318.44
5.4.300.0200.05318.57
5.4.290.0170.05018.43
5.4.280.0130.05718.58
5.4.270.0130.06018.59
5.4.260.0130.05718.59
5.4.250.0100.06018.58
5.4.240.0200.05718.68
5.4.230.0130.05318.70
5.4.220.0230.04718.69
5.4.210.0130.05318.48
5.4.200.0200.05316.55
5.4.190.0200.05018.75
5.4.180.0200.05718.53
5.4.170.0270.04718.68
5.4.160.0230.05018.57
5.4.150.0200.05018.73
5.4.140.0100.06016.45
5.4.130.0170.05016.40
5.4.120.0130.05316.30
5.4.110.0200.04716.20
5.4.100.0200.04716.28
5.4.90.0100.06016.43
5.4.80.0130.05016.21
5.4.70.0270.06016.22
5.4.60.0070.08316.32
5.4.50.0170.05016.26
5.4.40.0230.05316.25
5.4.30.0200.06316.20
5.4.20.0130.06316.13
5.4.10.0170.06716.21
5.4.00.0230.04315.88
5.3.290.0230.06014.79
5.3.280.0270.04714.71
5.3.270.0100.08314.70
5.3.260.0100.08314.62
5.3.250.0230.06714.65
5.3.240.0170.06314.71
5.3.230.0270.04014.61
5.3.220.0170.06314.77
5.3.210.0270.04714.77
5.3.200.0070.06014.61
5.3.190.0300.03714.62
5.3.180.0070.07314.67
5.3.170.0200.07014.54
5.3.160.0300.06314.59
5.3.150.0300.04714.71
5.3.140.0130.05714.57
5.3.130.0170.05714.66
5.3.120.0270.05314.60
5.3.110.0300.04714.65
5.3.100.0170.05314.14
5.3.90.0130.05314.20
5.3.80.0100.07314.06
5.3.70.0200.06714.07
5.3.60.0330.05314.21
5.3.50.0100.07714.00
5.3.40.0100.07314.00
5.3.30.0200.04713.95
5.3.20.0230.06313.71
5.3.10.0230.06313.68
5.3.00.0230.06313.65
5.2.170.0170.05711.17
5.2.160.0170.04011.34
5.2.150.0170.04311.20
5.2.140.0130.04711.18
5.2.130.0070.04711.29
5.2.120.0200.04311.22
5.2.110.0170.03711.22
5.2.100.0100.04311.20
5.2.90.0230.05011.22
5.2.80.0270.04711.21
5.2.70.0230.05011.14
5.2.60.0130.06011.04
5.2.50.0300.04311.11
5.2.40.0100.04311.09
5.2.30.0070.05011.09
5.2.20.0200.03710.98
5.2.10.0100.04010.92
5.2.00.0170.05010.77
5.1.60.0030.05310.01
5.1.50.0030.05310.18
5.1.40.0070.0509.99
5.1.30.0130.04710.43
5.1.20.0100.05310.38
5.1.10.0200.04010.19
5.1.00.0100.05010.25
5.0.50.0170.0308.74
5.0.40.0100.0338.43
5.0.30.0070.0508.24
5.0.20.0100.0238.27
5.0.10.0070.0278.20
5.0.00.0070.0438.27
4.4.90.0000.0275.92
4.4.80.0130.0135.87
4.4.70.0030.0235.91
4.4.60.0030.0235.88
4.4.50.0030.0235.91
4.4.40.0070.0475.89
4.4.30.0070.0305.95
4.4.20.0000.0335.98
4.4.10.0130.0175.97
4.4.00.0000.0375.91
4.3.110.0130.0175.82
4.3.100.0030.0235.93
4.3.90.0100.0175.92
4.3.80.0100.0305.79
4.3.70.0100.0135.82
4.3.60.0100.0175.82
4.3.50.0070.0205.79
4.3.40.0070.0335.79
4.3.30.0030.0234.56
4.3.20.0030.0234.54
4.3.10.0100.0174.51
4.3.00.0000.0237.27

preferences:
145.02 ms | 1394 KiB | 7 Q