3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace React; class Exception extends \Exception { } use \Exception as Exception; class A { public function __construct(Exception $e) { } } new A(new namespace\Exception);

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.6.120.0070.04021.11
5.6.110.0130.07021.13
5.6.100.0070.04721.06
5.6.90.0070.07021.02
5.6.80.0030.06020.38
5.5.280.0230.05020.73
5.5.270.0170.07720.73
5.5.260.0070.04020.86
5.5.250.0030.08720.68
5.5.240.0030.05720.19
5.4.440.0370.03719.41
5.4.430.0430.04019.45
5.4.420.0300.04319.35
5.4.410.0330.03719.43
5.4.400.0270.04319.00
5.4.390.0400.03318.84
5.4.380.0430.04319.06
5.4.370.0470.06319.00
5.4.360.0400.07019.22
5.4.350.0470.06319.31
5.4.340.0400.05318.84
5.4.320.0430.06719.05
5.4.310.0430.05019.24
5.4.300.0400.04319.09
5.4.290.0370.04719.19
5.4.280.0470.05719.23
5.4.270.0500.06018.98
5.4.260.0270.05318.99
5.4.250.0470.05719.21
5.4.240.0470.04319.08
5.4.230.0370.03319.22
5.4.220.0400.06019.04
5.4.210.0430.05019.08
5.4.200.0470.05719.30
5.4.190.0430.04318.97
5.4.180.0470.06318.99
5.4.170.0370.04319.30
5.4.160.0370.06319.20
5.4.150.0370.04019.19
5.4.140.0430.06016.34
5.4.130.0400.04016.32
5.4.120.0330.03716.59
5.4.110.0470.06016.49
5.4.100.0530.05316.55
5.4.90.0470.05716.60
5.4.80.0470.06716.57
5.4.70.0370.06016.18
5.4.60.0330.03716.52
5.4.50.0270.04016.34
5.4.40.0470.06316.53
5.4.30.0430.05716.48
5.4.20.0470.06316.35
5.4.10.0470.05716.27
5.4.00.0430.04715.90
5.3.290.0430.06314.67
5.3.280.0370.04014.65
5.3.270.0430.06014.52
5.3.260.0500.03714.61
5.3.250.0500.06314.82
5.3.240.0330.04314.52
5.3.230.0330.04014.61
5.3.220.0400.05014.48
5.3.210.0470.04314.53
5.3.200.0500.06314.53
5.3.190.0500.04714.46
5.3.180.0430.06014.64
5.3.170.0400.03314.56
5.3.160.0400.04014.57
5.3.150.0370.03714.53
5.3.140.0270.05314.61
5.3.130.0470.07014.45
5.3.120.0470.07014.59
5.3.110.0500.03714.60
5.3.100.0470.06314.13
5.3.90.0430.06714.09
5.3.80.0400.06314.13
5.3.70.0300.04014.07
5.3.60.0300.04013.92
5.3.50.0370.04313.85
5.3.40.0400.05014.17
5.3.30.0400.06713.91
5.3.20.0400.03713.91
5.3.10.0370.03013.66
5.3.00.0430.06713.54

preferences:
137.86 ms | 1394 KiB | 7 Q