3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Testing { class Test{ public static function getClassName(){ return __TRAIT__; } } } echo Test::getClassName();

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.390.0330.05718.75
5.4.380.0400.06018.73
5.4.370.0400.05018.47
5.4.360.0370.05018.79
5.4.350.0370.05018.81
5.4.340.0300.06018.74
5.4.320.0470.05018.69
5.4.310.0430.07018.78
5.4.300.0370.08318.73
5.4.290.0270.08018.59
5.4.280.0370.04718.68
5.4.270.0370.06318.77
5.4.260.0270.07018.64
5.4.250.0230.07018.76
5.4.240.0400.05318.76
5.4.230.0330.06018.60
5.4.220.0330.06718.52
5.4.210.0300.06018.88
5.4.200.0370.05716.56
5.4.190.0330.05318.51
5.4.180.0330.06018.68
5.4.170.0470.04718.48
5.4.160.0200.06018.51
5.4.150.0270.06018.82
5.4.140.0230.05716.45
5.4.130.0370.05016.19
5.4.120.0300.05016.29
5.4.110.0270.05716.21
5.4.100.0470.06316.25
5.4.90.0500.05316.38
5.4.80.0500.05316.20
5.4.70.0730.06016.17
5.4.60.0500.05716.18
5.4.50.0400.05316.27
5.4.40.0470.06016.40
5.4.30.0330.05716.16
5.4.20.0300.07316.22
5.4.10.0370.06016.20
5.4.00.0430.05015.68
5.3.290.0370.07714.70
5.3.280.0570.06014.58
5.3.270.0500.05314.73
5.3.260.0330.06714.63
5.3.250.0500.06014.70
5.3.240.0600.05014.64
5.3.230.0300.06014.73
5.3.220.0430.05014.78
5.3.210.0500.07714.60
5.3.200.0470.07014.59
5.3.190.0400.06014.66
5.3.180.0300.05014.59
5.3.170.0370.07014.73
5.3.160.0400.06014.59
5.3.150.0430.06014.60
5.3.140.0530.05714.73
5.3.130.0370.06314.76
5.3.120.0470.06714.54
5.3.110.0530.06014.76
5.3.100.0370.07314.09
5.3.90.0400.06714.05
5.3.80.0430.06714.24
5.3.70.0470.05714.22
5.3.60.0400.06714.07
5.3.50.0430.06013.98
5.3.40.0400.06313.98
5.3.30.0470.06714.04
5.3.20.0370.04713.80
5.3.10.0430.04013.86
5.3.00.0330.07313.74
5.2.170.0470.05311.17
5.2.160.0400.05011.13
5.2.150.0230.05011.13
5.2.140.0170.05711.11
5.2.130.0300.04311.15
5.2.120.0370.04311.05
5.2.110.0330.04311.25
5.2.100.0330.03711.16
5.2.90.0270.06011.06
5.2.80.0330.04011.23
5.2.70.0370.04311.06
5.2.60.0370.05711.10
5.2.50.0500.02711.00
5.2.40.0170.04710.97
5.2.30.0170.05010.96
5.2.20.0270.03710.91
5.2.10.0230.05010.97
5.2.00.0130.04710.73
5.1.60.0200.04310.02
5.1.50.0230.0339.95
5.1.40.0170.03710.10
5.1.30.0230.04010.38
5.1.20.0300.03710.45
5.1.10.0130.04310.13
5.1.00.0300.04310.09
5.0.50.0130.0338.61
5.0.40.0070.0338.44
5.0.30.0230.0338.20
5.0.20.0130.0338.25
5.0.10.0270.0278.20
5.0.00.0170.0508.19
4.4.90.0100.0337.45
4.4.80.0230.0137.45
4.4.70.0200.0237.45
4.4.60.0100.0277.45
4.4.50.0100.0337.45
4.4.40.0100.0437.45
4.4.30.0100.0237.45
4.4.20.0200.0237.45
4.4.10.0130.0237.45
4.4.00.0100.0407.45
4.3.110.0070.0307.45
4.3.100.0030.0277.45
4.3.90.0070.0277.45
4.3.80.0070.0407.45
4.3.70.0100.0277.45
4.3.60.0100.0207.45
4.3.50.0070.0277.45
4.3.40.0070.0407.45
4.3.30.0070.0277.45
4.3.20.0000.0277.45
4.3.10.0070.0237.45
4.3.00.0000.0238.06

preferences:
142.35 ms | 1394 KiB | 7 Q