3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function __construct() { var_dump($this); $this = 3; } }

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.0400.06719.22
5.4.310.0370.04719.07
5.4.300.0330.05319.24
5.4.290.0270.04019.03
5.4.280.0400.06019.22
5.4.270.0430.05719.23
5.4.260.0300.03319.20
5.4.250.0370.04318.94
5.4.240.0330.06319.21
5.4.230.0430.04719.05
5.4.220.0330.05018.86
5.4.210.0300.04718.90
5.4.200.0230.07318.86
5.4.190.0270.07018.84
5.4.180.0330.05019.23
5.4.170.0370.06719.12
5.4.160.0300.05719.06
5.4.150.0300.05018.84
5.4.140.0430.03716.41
5.4.130.0330.07016.50
5.4.120.0400.06016.41
5.4.110.0470.04716.52
5.4.100.0370.07016.38
5.4.90.0370.06316.59
5.4.80.0430.05316.35
5.4.70.0370.06016.52
5.4.60.0400.06016.22
5.4.50.0370.05316.38
5.4.40.0400.06016.55
5.4.30.0370.06316.23
5.4.20.0270.03716.52
5.4.10.0270.07716.25
5.4.00.0430.05715.78
5.3.290.0430.06714.78
5.3.280.0270.04714.55
5.3.270.0270.05714.51
5.3.260.0270.05714.52
5.3.250.0270.07014.52
5.3.240.0430.06014.59
5.3.230.0300.04014.69
5.3.220.0370.06714.47
5.3.210.0370.06014.58
5.3.200.0370.06014.48
5.3.190.0300.06714.57
5.3.180.0300.07314.55
5.3.170.0470.05714.55
5.3.160.0370.06714.57
5.3.150.0330.07014.68
5.3.140.0500.05014.60
5.3.130.0330.06314.55
5.3.120.0300.05314.46
5.3.110.0270.07714.46
5.3.100.0330.07314.12
5.3.90.0330.06314.05
5.3.80.0300.06314.09
5.3.70.0230.05014.09
5.3.60.0330.07014.15
5.3.50.0330.04013.87
5.3.40.0300.05313.99
5.3.30.0330.04313.95
5.3.20.0470.05313.59
5.3.10.0300.04013.62
5.3.00.0330.03013.73
5.2.170.0270.03311.14
5.2.160.0300.05711.07
5.2.150.0230.03011.04
5.2.140.0230.04011.04
5.2.130.0270.02711.03
5.2.120.0330.05011.00
5.2.110.0270.02711.00
5.2.100.0270.02311.02
5.2.90.0200.03011.01
5.2.80.0230.02711.25
5.2.70.0230.03011.18
5.2.60.0300.05310.97
5.2.50.0300.03311.17
5.2.40.0130.03310.89
5.2.30.0200.03011.03
5.2.20.0330.04311.11
5.2.10.0170.03710.78
5.2.00.0200.04710.68
5.1.60.0230.03710.00
5.1.50.0300.03310.08
5.1.40.0200.02710.20
5.1.30.0300.04710.41
5.1.20.0270.04710.57
5.1.10.0270.0479.95
5.1.00.0270.0409.97
5.0.50.0030.0279.42
5.0.40.0070.0209.42
5.0.30.0100.0309.42
5.0.20.0130.0209.42
5.0.10.0030.0239.42
5.0.00.0030.0339.42
4.4.90.0130.0109.34
4.4.80.0100.0179.35
4.4.70.0100.0379.39
4.4.60.0070.0409.39
4.4.50.0100.0209.39
4.4.40.0230.0439.39
4.4.30.0100.0179.40
4.4.20.0170.0239.41
4.4.10.0030.0239.42
4.4.00.0070.0279.42
4.3.110.0100.0139.42
4.3.100.0070.0179.42
4.3.90.0070.0179.42
4.3.80.0070.0279.42
4.3.70.0130.0109.42
4.3.60.0030.0179.44
4.3.50.0070.0179.44
4.3.40.0070.0239.44
4.3.30.0070.0179.45
4.3.20.0070.0139.45
4.3.10.0070.0139.45
4.3.00.0030.0139.45

preferences:
137.12 ms | 1394 KiB | 7 Q