3v4l.org

run code in 300+ PHP versions simultaneously
<?php class abc() { public $a = 'A'; public function __debugInfo() { return array('b'=>'B'); } } var_dump(new abc());

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.270.0170.06318.94
5.4.260.0070.05718.83
5.4.250.0130.07018.74
5.4.240.0070.05318.79
5.4.230.0170.06018.99
5.4.220.0130.07018.76
5.4.210.0100.05018.98
5.4.200.0270.06318.98
5.4.190.0230.05718.83
5.4.180.0100.06718.95
5.4.170.0270.05318.73
5.4.160.0130.06718.95
5.4.150.0300.06318.95
5.4.140.0200.06016.61
5.4.130.0070.07016.43
5.4.120.0130.05016.36
5.4.110.0200.05016.32
5.4.100.0070.05316.42
5.4.90.0130.06016.36
5.4.80.0200.06716.49
5.4.70.0200.05716.40
5.4.60.0100.06716.54
5.4.50.0070.07716.54
5.4.40.0200.05316.50
5.4.30.0170.04316.45
5.4.20.0200.06016.52
5.4.10.0300.05016.45
5.4.00.0100.05315.83
5.3.280.0030.07714.41
5.3.270.0200.04314.60
5.3.260.0130.05714.43
5.3.250.0200.06314.59
5.3.240.0070.08314.43
5.3.230.0170.06014.61
5.3.220.0030.05714.39
5.3.210.0170.06314.46
5.3.200.0100.05314.64
5.3.190.0100.05314.47
5.3.180.0200.04714.53
5.3.170.0230.05314.57
5.3.160.0070.07314.72
5.3.150.0100.06314.64
5.3.140.0170.07014.64
5.3.130.0170.05014.53
5.3.120.0170.05314.68
5.3.110.0130.06014.37
5.3.100.0100.07014.27
5.3.90.0100.07014.08
5.3.80.0070.05314.18
5.3.70.0070.07014.01
5.3.60.0030.07714.16
5.3.50.0070.05314.02
5.3.40.0170.06714.12
5.3.30.0070.05014.07
5.3.20.0200.06313.71
5.3.10.0100.04713.64
5.3.00.0170.06013.63
5.2.170.0070.05311.04
5.2.160.0230.04310.96
5.2.150.0070.04311.22
5.2.140.0130.04311.20
5.2.130.0070.05711.20
5.2.120.0030.04011.25
5.2.110.0170.05711.27
5.2.100.0170.05011.04
5.2.90.0030.05011.07
5.2.80.0230.02711.08
5.2.70.0170.03311.16
5.2.60.0100.05311.03
5.2.50.0070.05711.18
5.2.40.0170.04310.98
5.2.30.0130.05311.14
5.2.20.0070.04010.91
5.2.10.0070.05710.84
5.2.00.0070.05310.78
5.1.60.0100.0439.82
5.1.50.0100.03010.06
5.1.40.0100.0339.81
5.1.30.0100.05310.39
5.1.20.0070.04010.33
5.1.10.0070.03710.21
5.1.00.0100.05710.03
5.0.50.0070.0408.50
5.0.40.0030.0408.37
5.0.30.0000.0538.29
5.0.20.0100.0338.25
5.0.10.0030.0308.14
5.0.00.0070.0508.30
4.4.90.0030.0237.12
4.4.80.0030.0237.12
4.4.70.0070.0207.12
4.4.60.0070.0277.12
4.4.50.0000.0337.12
4.4.40.0000.0477.12
4.4.30.0030.0337.12
4.4.20.0070.0207.12
4.4.10.0070.0277.12
4.4.00.0070.0337.12
4.3.110.0070.0307.12
4.3.100.0130.0177.12
4.3.90.0030.0307.12
4.3.80.0030.0337.12
4.3.70.0070.0207.12
4.3.60.0100.0277.12
4.3.50.0070.0307.12
4.3.40.0130.0277.12
4.3.30.0000.0337.12
4.3.20.0000.0307.12
4.3.10.0030.0237.12
4.3.00.0100.0237.77

preferences:
149.17 ms | 1394 KiB | 7 Q