3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Biz { class Bar {}; } namespace Foo { class Bar {}; } namespace Foo { use Biz\Bar; $a = new Bar; var_dump($a); }

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.380.0130.07018.74
5.4.370.0130.05318.72
5.4.360.0070.05718.68
5.4.350.0200.07018.73
5.4.340.0130.06318.74
5.4.320.0100.05718.77
5.4.310.0200.04718.69
5.4.300.0200.04718.64
5.4.290.0100.05718.76
5.4.280.0070.06018.63
5.4.270.0170.05018.63
5.4.260.0130.05318.73
5.4.250.0170.06318.65
5.4.240.0170.05018.48
5.4.230.0200.04318.71
5.4.220.0130.05318.58
5.4.210.0330.03318.61
5.4.200.0170.05016.61
5.4.190.0270.04018.73
5.4.180.0130.05318.48
5.4.170.0070.05718.57
5.4.160.0170.05018.48
5.4.150.0170.06018.53
5.4.140.0070.05716.24
5.4.130.0030.05716.36
5.4.120.0100.06016.38
5.4.110.0100.05016.29
5.4.100.0100.05316.21
5.4.90.0170.04716.34
5.4.80.0100.05716.15
5.4.70.0130.05016.14
5.4.60.0130.04716.41
5.4.50.0070.05316.23
5.4.40.0130.05716.18
5.4.30.0070.05316.42
5.4.20.0100.05716.25
5.4.10.0070.05716.19
5.4.00.0130.04715.73
5.3.290.0030.06714.69
5.3.280.0200.04714.59
5.3.270.0170.05014.75
5.3.260.0130.05314.59
5.3.250.0130.05314.72
5.3.240.0130.05314.72
5.3.230.0070.05714.69
5.3.220.0170.05314.78
5.3.210.0070.06714.61
5.3.200.0170.04714.78
5.3.190.0030.07714.61
5.3.180.0130.06714.73
5.3.170.0030.05714.58
5.3.160.0130.05014.61
5.3.150.0100.05714.59
5.3.140.0100.05714.53
5.3.130.0100.05714.61
5.3.120.0170.05314.56
5.3.110.0230.04314.73
5.3.100.0100.06014.26
5.3.90.0170.06014.01
5.3.80.0100.05313.99
5.3.70.0130.05714.05
5.3.60.0130.05014.05
5.3.50.0200.04313.94
5.3.40.0100.05713.93
5.3.30.0100.05713.92
5.3.20.0200.04013.82
5.3.10.0070.05313.87
5.3.00.0070.05313.70
5.2.170.0100.04011.28
5.2.160.0170.03311.13
5.2.150.0070.04311.18
5.2.140.0170.03711.17
5.2.130.0100.04011.16
5.2.120.0100.04011.05
5.2.110.0000.05011.05
5.2.100.0070.04011.15
5.2.90.0070.04311.24
5.2.80.0100.04011.00
5.2.70.0030.05011.14
5.2.60.0030.05010.96
5.2.50.0130.03711.07
5.2.40.0070.04010.95
5.2.30.0130.03711.13
5.2.20.0070.04310.96
5.2.10.0130.03310.89
5.2.00.0070.04010.69
5.1.60.0070.0339.99
5.1.50.0030.04310.05
5.1.40.0070.0339.99
5.1.30.0100.03310.30
5.1.20.0100.03310.37
5.1.10.0070.03710.20
5.1.00.0100.03310.11
5.0.50.0100.0278.56
5.0.40.0000.0338.47
5.0.30.0100.0378.34
5.0.20.0030.0308.39
5.0.10.0030.0338.20
5.0.00.0030.0438.19
4.4.90.0000.0277.69
4.4.80.0070.0207.69
4.4.70.0030.0237.69
4.4.60.0030.0237.69
4.4.50.0030.0207.69
4.4.40.0000.0377.69
4.4.30.0030.0207.69
4.4.20.0070.0207.69
4.4.10.0030.0237.69
4.4.00.0000.0407.69
4.3.110.0000.0277.69
4.3.100.0000.0237.69
4.3.90.0030.0207.69
4.3.80.0000.0377.69
4.3.70.0000.0277.69
4.3.60.0000.0237.69
4.3.50.0000.0277.69
4.3.40.0070.0307.69
4.3.30.0000.0237.69
4.3.20.0030.0207.69
4.3.10.0030.0207.69
4.3.00.0170.03714.39

preferences:
143.11 ms | 993 KiB | 7 Q