3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyTest { public value; } $test = new MyTest(); $test->value = "Shane"; echo "My name is " . $test->value; ?>

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.320.0200.04319.14
5.4.310.0170.04019.14
5.4.300.0230.03319.16
5.4.290.0170.05019.09
5.4.280.0170.06019.24
5.4.270.0170.03718.83
5.4.260.0200.03719.31
5.4.250.0170.03719.19
5.4.240.0130.04319.14
5.4.230.0230.04318.97
5.4.220.0200.03718.86
5.4.210.0170.03719.21
5.4.200.0200.04319.14
5.4.190.0270.04019.20
5.4.180.0230.04718.97
5.4.170.0170.04019.08
5.4.160.0130.04019.22
5.4.150.0030.04319.04
5.4.140.0100.03316.36
5.4.130.0170.03716.50
5.4.120.0200.03316.33
5.4.110.0300.02316.56
5.4.100.0200.03316.55
5.4.90.0230.03716.56
5.4.80.0130.03716.25
5.4.70.0130.04016.44
5.4.60.0230.04016.43
5.4.50.0170.03716.49
5.4.40.0230.02716.51
5.4.30.0400.02716.30
5.4.20.0200.03316.42
5.4.10.0130.03716.53
5.4.00.0130.04715.78
5.3.290.0200.03714.63
5.3.280.0200.05314.56
5.3.270.0170.04014.60
5.3.260.0170.04014.50
5.3.250.0200.03714.61
5.3.240.0170.04014.57
5.3.230.0130.04314.64
5.3.220.0170.03714.64
5.3.210.0370.03314.54
5.3.200.0170.03714.53
5.3.190.0170.04014.68
5.3.180.0130.04014.57
5.3.170.0230.03014.54
5.3.160.0170.04314.53
5.3.150.0200.03314.57
5.3.140.0230.03014.54
5.3.130.0200.04714.59
5.3.120.0230.03314.69
5.3.110.0170.04314.56
5.3.100.0200.03314.05
5.3.90.0230.03014.03
5.3.80.0170.03714.11
5.3.70.0170.03714.16
5.3.60.0230.03014.08
5.3.50.0330.03713.86
5.3.40.0170.04713.95
5.3.30.0200.04313.81
5.3.20.0230.03013.69
5.3.10.0170.04713.67
5.3.00.0170.03713.69
5.2.170.0200.02711.29
5.2.160.0100.03311.14
5.2.150.0200.02311.21
5.2.140.0170.03011.29
5.2.130.0200.02311.17
5.2.120.0170.02311.15
5.2.110.0170.02311.32
5.2.100.0130.03011.10
5.2.90.0200.02311.18
5.2.80.0130.03011.14
5.2.70.0200.06011.09
5.2.60.0170.05311.02
5.2.50.0030.03310.94
5.2.40.0170.03311.14
5.2.30.0200.04010.94
5.2.20.0170.02310.87
5.2.10.0200.05310.86
5.2.00.0200.05710.62
5.1.60.0170.0339.92
5.1.50.0130.02310.14
5.1.40.0100.0279.87
5.1.30.0100.02710.45
5.1.20.0130.05010.50
5.1.10.0130.02710.15
5.1.00.0100.0339.97
5.0.50.0130.0178.47
5.0.40.0100.0178.63
5.0.30.0070.0308.15
5.0.20.0030.0308.35
5.0.10.0070.0238.06
5.0.00.0000.0408.24
4.4.90.0030.0177.90
4.4.80.0070.0137.90
4.4.70.0070.0177.90
4.4.60.0070.0137.90
4.4.50.0030.0177.90
4.4.40.0070.0277.90
4.4.30.0070.0177.90
4.4.20.0070.0137.90
4.4.10.0100.0177.90
4.4.00.0070.0307.90
4.3.110.0000.0237.90
4.3.100.0000.0207.90
4.3.90.0070.0137.90
4.3.80.0000.0237.90
4.3.70.0000.0207.90
4.3.60.0000.0177.90
4.3.50.0000.0137.90
4.3.40.0030.0277.90
4.3.30.0300.0207.90
4.3.20.0370.0137.90
4.3.10.0230.0177.90
4.3.00.0230.0177.90

preferences:
155.1 ms | 1394 KiB | 7 Q