3v4l.org

run code in 300+ PHP versions simultaneously
<?php class AWS{ private static $config; public static function setup($config){ if(isset(self::$config)){ throw new Exception("AWS has already been setup."); } self::$config = $config; } } AWS::setup('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)
8.3.60.0000.01516.38
8.3.50.0130.00621.99
8.3.40.0060.00918.93
8.3.30.0120.00618.63
8.3.20.0080.00020.29
8.3.10.0030.00523.66
8.3.00.0000.00819.13
8.2.180.0070.00716.50
8.2.170.0100.00722.96
8.2.160.0070.00720.39
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0090.00017.50
8.2.120.0040.00426.35
8.2.110.0090.00020.50
8.2.100.0080.00417.93
8.2.90.0040.00419.23
8.2.80.0040.00417.97
8.2.70.0000.00917.38
8.2.60.0090.00017.80
8.2.50.0040.00418.07
8.2.40.0080.00019.26
8.2.30.0030.00320.53
8.2.20.0070.00317.55
8.2.10.0030.00517.93
8.2.00.0040.00417.96
8.1.280.0040.01125.92
8.1.270.0000.00823.83
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0040.01919.43
8.1.230.0040.00717.64
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0000.01117.10
8.1.180.0050.00218.10
8.1.170.0090.00018.69
8.1.160.0040.00421.93
8.1.150.0000.00718.88
8.1.140.0000.00819.43
8.1.130.0000.00717.66
8.1.120.0000.00717.45
8.1.110.0000.00817.42
8.1.100.0020.00517.49
8.1.90.0000.00717.35
8.1.80.0020.00517.50
8.1.70.0000.00717.41
8.1.60.0040.00417.43
8.1.50.0030.00617.41
8.1.40.0090.00017.52
8.1.30.0000.00817.48
8.1.20.0040.00417.59
8.1.10.0000.00717.57
8.1.00.0030.00517.42
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0040.00418.44
8.0.270.0030.00317.30
8.0.260.0000.00617.24
8.0.250.0000.00716.98
8.0.240.0080.00016.95
8.0.230.0000.00716.99
8.0.220.0070.00016.90
8.0.210.0000.00716.79
8.0.200.0030.00316.91
8.0.190.0070.00316.96
8.0.180.0000.00716.82
8.0.170.0030.00616.98
8.0.160.0050.00516.85
8.0.150.0070.00016.89
8.0.140.0070.00016.89
8.0.130.0000.00513.30
8.0.120.0040.00416.88
8.0.110.0000.00716.90
8.0.100.0070.00016.71
8.0.90.0040.00416.87
8.0.80.0080.00816.92
8.0.70.0040.00416.79
8.0.60.0040.00416.68
8.0.50.0080.00016.71
8.0.30.0050.01316.95
8.0.20.0080.01117.43
8.0.10.0040.00416.90
8.0.00.0110.00916.74
7.4.330.0020.00216.73
7.4.320.0030.00316.43
7.4.300.0000.00616.39
7.4.290.0070.00016.58
7.4.280.0000.00716.61
7.4.270.0040.00416.48
7.4.260.0040.00416.58
7.4.250.0070.00016.45
7.4.240.0050.00216.48
7.4.230.0030.00316.60
7.4.220.0150.00316.60
7.4.210.0120.00416.57
7.4.200.0070.00016.34
7.4.160.0170.00016.60
7.4.150.0070.01117.40
7.4.140.0100.01117.86
7.4.130.0100.01016.50
7.4.120.0110.00716.65
7.4.110.0140.00416.55
7.4.100.0120.00916.35
7.4.90.0000.01616.50
7.4.80.0120.00919.39
7.4.70.0060.01216.57
7.4.60.0120.00416.39
7.4.50.0060.00616.55
7.4.40.0110.00616.41
7.4.30.0110.00916.60
7.4.00.0120.00514.95
7.3.330.0050.00013.14
7.3.320.0000.00813.36
7.3.310.0000.00716.34
7.3.300.0000.00716.33
7.3.290.0000.00716.37
7.3.280.0090.00916.32
7.3.270.0100.00717.40
7.3.260.0090.00916.63
7.3.250.0110.00716.30
7.3.240.0050.01116.44
7.3.230.0100.00716.39
7.3.210.0070.01016.34
7.3.200.0080.01216.31
7.3.190.0110.00716.43
7.3.180.0140.00416.45
7.3.170.0090.01216.34
7.3.160.0060.00916.38
7.3.120.0090.00914.51
7.3.110.0040.01514.94
7.3.100.0060.00914.89
7.3.90.0090.00314.43
7.3.80.0060.01214.56
7.3.70.0090.00014.95
7.3.60.0090.00314.96
7.3.50.0110.00414.77
7.3.40.0040.01214.81
7.3.30.0070.00714.88
7.3.20.0040.00816.68
7.3.10.0110.00516.58
7.3.00.0090.00616.45
7.2.330.0040.01316.66
7.2.320.0100.01316.23
7.2.310.0000.01716.70
7.2.300.0060.01116.32
7.2.290.0280.03216.62
7.2.250.0120.00614.99
7.2.240.0100.01015.14
7.2.230.0060.00915.06
7.2.220.0030.00915.10
7.2.210.0100.00315.10
7.2.200.0070.00715.09
7.2.190.0000.00914.76
7.2.180.0100.00714.93
7.2.170.0060.00814.95
7.2.130.0120.00916.61
7.2.120.0110.00716.65
7.2.110.0120.00916.53
7.2.100.0180.00416.63
7.2.90.0080.00816.56
7.2.80.0050.01316.62
7.2.70.0150.00516.58
7.2.60.0060.01016.79
7.2.50.0100.00716.63
7.2.40.0070.00816.49
7.2.30.0070.00716.50
7.2.20.0070.00916.67
7.2.10.0080.00916.37
7.2.00.0060.00817.49
7.1.330.0070.00715.80
7.1.320.0060.00915.51
7.1.310.0040.01115.75
7.1.300.0040.00815.68
7.1.290.0140.00015.57
7.1.280.0070.00415.68
7.1.270.0030.01015.45
7.1.260.0070.00715.67
7.1.250.0060.00715.53
7.1.200.0030.01015.48
7.1.100.0000.01117.91
7.1.70.0000.01017.09
7.1.60.0090.01619.36
7.1.50.0100.01016.80
7.1.00.0030.07722.51
7.0.200.0060.00316.71
7.0.60.0100.05720.03
7.0.50.0070.08317.88
7.0.40.0100.03720.09
7.0.30.0470.07020.13
7.0.20.0300.04720.10
7.0.10.0030.09020.15
7.0.00.0030.06320.16
5.6.280.0200.05721.07
5.6.210.0100.05320.47
5.6.200.0070.04718.13
5.6.190.0070.04020.61
5.6.180.0570.06720.52
5.6.170.0230.03720.44
5.6.160.0070.05320.55
5.6.150.0030.07718.29
5.6.140.0000.07318.14
5.6.130.0030.07718.13
5.6.120.0130.05721.07
5.6.110.0230.06320.97
5.6.100.0170.07720.97
5.6.90.0130.05720.95
5.6.80.0000.04320.28
5.5.350.3170.02720.53
5.5.340.0100.04017.96
5.5.330.0070.06020.35
5.5.320.0030.04320.38
5.5.310.0330.06020.24
5.5.300.0030.04317.96
5.5.290.0100.07717.99
5.5.280.0030.04320.73
5.5.270.0070.03720.86
5.5.260.0100.07720.80
5.5.250.0030.08020.70
5.5.240.0230.06320.27

preferences:
45.96 ms | 401 KiB | 5 Q