3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $foo; public __construct() { var_dump(get_object_vars($this)); } } new Foo;

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.340.0170.03719.14
5.4.320.0170.03719.21
5.4.310.0130.03719.13
5.4.300.0100.04319.15
5.4.290.0170.03319.06
5.4.280.0100.04019.08
5.4.270.0100.04018.99
5.4.260.0070.04019.16
5.4.250.0170.04018.94
5.4.240.0130.03719.05
5.4.230.0130.03719.25
5.4.220.0170.03319.14
5.4.210.0200.03018.98
5.4.200.0100.04018.94
5.4.190.0170.03718.98
5.4.180.0070.04018.84
5.4.170.0130.03718.90
5.4.160.0100.04718.92
5.4.150.0170.03318.83
5.4.140.0100.03716.34
5.4.130.0300.04016.38
5.4.120.0300.05016.36
5.4.110.0100.05316.57
5.4.100.0270.06016.41
5.4.90.0200.04716.26
5.4.80.0230.04316.49
5.4.70.0270.06716.17
5.4.60.0230.04716.33
5.4.50.0200.04716.23
5.4.40.0170.06716.43
5.4.30.0170.07316.51
5.4.20.0230.06716.51
5.4.10.0270.06016.51
5.4.00.0200.06715.80
5.3.290.0070.05314.63
5.3.280.0170.03314.57
5.3.270.0100.03714.50
5.3.260.0030.04314.69
5.3.250.0170.03314.64
5.3.240.0130.04314.76
5.3.230.0270.06314.52
5.3.220.0300.03714.47
5.3.210.0300.05714.56
5.3.200.0100.06714.49
5.3.190.0300.05314.57
5.3.180.0100.06714.72
5.3.170.0270.07014.57
5.3.160.0200.06714.58
5.3.150.0170.05714.64
5.3.140.0270.06714.63
5.3.130.0170.06314.55
5.3.120.0170.04314.44
5.3.110.0170.07714.56
5.3.100.0200.05313.93
5.3.90.0400.03013.93
5.3.80.0270.04714.09
5.3.70.0330.06014.23
5.3.60.0230.07314.07
5.3.50.0300.05313.94
5.3.40.0270.06713.87
5.3.30.0230.06313.95
5.3.20.0170.06313.69
5.3.10.0230.04013.77
5.3.00.0200.07013.54
5.2.170.0200.06311.99
5.2.160.0200.06011.99
5.2.150.0130.06311.99
5.2.140.0170.04011.99
5.2.130.0200.05711.99
5.2.120.0230.05711.99
5.2.110.0200.06011.99
5.2.100.0100.06311.99
5.2.90.0130.06711.99
5.2.80.0170.03711.99
5.2.70.0270.05011.99
5.2.60.0170.06011.99
5.2.50.0200.06011.99
5.2.40.0170.05711.99
5.2.30.0130.03711.99
5.2.20.0170.04311.99
5.2.10.0200.05011.99
5.2.00.0170.06011.99
5.1.60.0200.03311.99
5.1.50.0200.05311.99
5.1.40.0170.05011.99
5.1.30.0200.03011.99
5.1.20.0230.04011.99
5.1.10.0170.05011.99
5.1.00.0170.05311.99
5.0.50.0100.03311.99
5.0.40.0100.04311.99
5.0.30.0070.06711.99
5.0.20.0030.04011.99
5.0.10.0070.04711.99
5.0.00.0070.06311.99
4.4.90.0030.03311.99
4.4.80.0100.01711.99
4.4.70.0130.03311.99
4.4.60.0070.03011.99
4.4.50.0070.02711.99
4.4.40.0070.05011.99
4.4.30.0070.03311.99
4.4.20.0100.03711.99
4.4.10.0100.02711.99
4.4.00.0000.04711.99
4.3.110.0070.03011.99
4.3.100.0130.02711.99
4.3.90.0100.02311.99
4.3.80.0100.05311.99
4.3.70.0100.03011.99
4.3.60.0070.03711.99
4.3.50.0100.02711.99
4.3.40.0130.03311.99
4.3.30.0000.03011.99
4.3.20.0000.03711.99
4.3.10.0070.02311.99
4.3.00.0030.02311.99

preferences:
143.64 ms | 1394 KiB | 7 Q