3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public static function hello() { echo "Hello" } } $caller = array('Test', 'hello'); $caller();

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.0070.07720.44
5.5.240.0270.07020.16
5.4.400.0330.06718.65
5.4.390.0300.08018.79
5.4.380.0430.06018.73
5.4.370.0600.05018.75
5.4.360.0600.06018.70
5.4.350.0370.06718.81
5.4.340.0370.06318.84
5.4.320.0430.06318.58
5.4.310.0300.07018.72
5.4.300.0470.05718.70
5.4.290.0530.06718.76
5.4.280.0500.06718.46
5.4.270.0530.06318.73
5.4.260.0600.05018.45
5.4.250.0430.06718.59
5.4.240.0430.06318.46
5.4.230.0430.06018.68
5.4.220.0530.07018.45
5.4.210.0530.05318.73
5.4.200.0400.06316.55
5.4.190.0530.05718.84
5.4.180.0400.05718.79
5.4.170.0400.05318.77
5.4.160.0430.06018.73
5.4.150.0370.05718.70
5.4.140.0330.05716.34
5.4.130.0430.04716.20
5.4.120.0500.06316.18
5.4.110.0430.05316.33
5.4.100.0270.06316.22
5.4.90.0370.05016.28
5.4.80.0570.06316.43
5.4.70.0370.07316.17
5.4.60.0300.06016.42
5.4.50.0400.05316.16
5.4.40.0400.05716.25
5.4.30.0470.06016.26
5.4.20.0430.05016.22
5.4.10.0270.05716.26
5.4.00.0370.06315.92
5.3.290.0300.06714.69
5.3.280.0300.06314.65
5.3.270.0430.06014.73
5.3.260.0470.07014.59
5.3.250.0470.06714.62
5.3.240.0370.07714.63
5.3.230.0470.07014.70
5.3.220.0430.06714.69
5.3.210.0370.08014.58
5.3.200.0400.05314.57
5.3.190.0330.07014.59
5.3.180.0630.06314.77
5.3.170.0300.06014.77
5.3.160.0330.06014.61
5.3.150.0330.05314.77
5.3.140.0400.06014.58
5.3.130.0370.06314.57
5.3.120.0400.06014.60
5.3.110.0370.08014.56
5.3.100.0430.05014.07
5.3.90.0500.06014.15
5.3.80.0400.07014.07
5.3.70.0430.05314.06
5.3.60.0530.05714.16
5.3.50.0430.05013.94
5.3.40.0430.06013.93
5.3.30.0430.07014.02
5.3.20.0430.05013.67
5.3.10.0470.05713.76
5.3.00.0500.05713.81
5.2.170.0370.03711.25
5.2.160.0270.04011.35
5.2.150.0170.05711.24
5.2.140.0430.05011.18
5.2.130.0270.04311.17
5.2.120.0300.04711.22
5.2.110.0330.03711.08
5.2.100.0430.04711.10
5.2.90.0400.03711.14
5.2.80.0330.04011.30
5.2.70.0330.05711.22
5.2.60.0370.05311.08
5.2.50.0430.05711.08
5.2.40.0370.04711.03
5.2.30.0300.05011.09
5.2.20.0300.05011.03
5.2.10.0330.04710.91
5.2.00.0230.05710.71
5.1.60.0170.0439.98
5.1.50.0300.03710.07
5.1.40.0270.0479.96
5.1.30.0230.05010.39
5.1.20.0270.06710.41
5.1.10.0600.03710.05
5.1.00.0270.04310.25
5.0.50.0200.0338.59
5.0.40.0170.0378.46
5.0.30.0170.0578.26
5.0.20.0070.0408.38
5.0.10.0230.0438.31
5.0.00.0200.0508.20
4.4.90.0170.0336.10
4.4.80.0300.0176.10
4.4.70.0200.0176.10
4.4.60.0070.0336.10
4.4.50.0070.0276.10
4.4.40.0100.0436.10
4.4.30.0200.0236.10
4.4.20.0170.0276.10
4.4.10.0770.0276.10
4.4.00.0270.0376.10
4.3.110.0170.0306.10
4.3.100.0200.0276.10
4.3.90.0100.0306.10
4.3.80.0100.0436.10
4.3.70.0130.0276.10
4.3.60.0170.0276.10
4.3.50.0130.0236.10
4.3.40.0130.0406.10
4.3.30.0130.0236.10
4.3.20.0030.0336.10
4.3.10.0130.0236.10
4.3.00.0100.0236.80

preferences:
146.25 ms | 1394 KiB | 7 Q