3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace RN\Pitt { class Amt{ function __construct() { echo "Shamoan, motherfuckers!"; } } } namespace { $a = 'Pitt'; $b = 'Amt'; $class = 'RN\\'.$a.'\\'.$b; $obj = new $class(); }

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.40.0100.00718.57
8.3.30.0070.00719.09
8.3.20.0040.00420.39
8.3.10.0000.00721.86
8.3.00.0050.00317.93
8.2.170.0100.01022.96
8.2.160.0100.00320.38
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0060.01226.16
8.2.120.0080.00020.94
8.2.110.0090.01322.15
8.2.100.0040.01117.72
8.2.90.0030.00619.17
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0040.00418.05
8.2.50.0050.00318.07
8.2.40.0040.00418.22
8.2.30.0100.00018.04
8.2.20.0080.00017.55
8.2.10.0040.00418.05
8.2.00.0040.00417.80
8.1.270.0090.00023.78
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0100.00723.77
8.1.230.0080.00418.97
8.1.220.0000.00817.79
8.1.210.0000.00818.77
8.1.200.0090.00317.25
8.1.190.0040.00417.00
8.1.180.0080.00018.10
8.1.170.0030.00518.50
8.1.160.0000.00721.93
8.1.150.0080.00018.86
8.1.140.0080.00017.41
8.1.130.0000.00717.74
8.1.120.0030.00517.50
8.1.110.0060.00317.44
8.1.100.0030.00317.48
8.1.90.0000.00717.44
8.1.80.0030.00417.50
8.1.70.0070.00017.40
8.1.60.0080.00017.47
8.1.50.0000.00817.57
8.1.40.0030.00617.49
8.1.30.0030.00617.55
8.1.20.0000.00717.68
8.1.10.0030.00617.50
8.1.00.0070.00017.41
8.0.300.0090.00018.77
8.0.290.0060.00516.58
8.0.280.0000.00718.42
8.0.270.0040.00417.29
8.0.260.0030.00317.21
8.0.250.0070.00016.99
8.0.240.0040.00416.89
8.0.230.0030.00316.93
8.0.220.0030.00316.88
8.0.210.0070.00016.84
8.0.200.0040.00716.96
8.0.190.0070.00016.94
8.0.180.0030.00316.77
8.0.170.0000.00816.78
8.0.160.0000.00716.95
8.0.150.0050.00316.84
8.0.140.0040.00416.88
8.0.130.0000.00513.26
8.0.120.0040.00416.88
8.0.110.0070.00016.75
8.0.100.0040.00416.95
8.0.90.0030.00316.82
8.0.80.0030.01216.90
8.0.70.0050.00316.79
8.0.60.0050.00316.78
8.0.50.0000.00816.87
8.0.30.0120.00717.20
8.0.20.0170.00817.40
8.0.10.0000.00717.05
8.0.00.0110.00716.72
7.4.330.0020.00215.00
7.4.320.0020.00516.42
7.4.300.0000.00916.51
7.4.290.0030.00316.57
7.4.280.0060.00316.39
7.4.270.0000.00716.49
7.4.260.0040.00416.38
7.4.250.0000.00716.53
7.4.240.0080.00016.58
7.4.230.0030.00316.66
7.4.220.0130.00316.62
7.4.210.0040.01216.54
7.4.200.0050.00316.47
7.4.160.0160.00016.38
7.4.150.0100.01017.40
7.4.140.0100.01017.86
7.4.130.0110.00716.54
7.4.120.0070.00916.48
7.4.110.0120.00616.52
7.4.100.0100.00716.31
7.4.90.0100.01016.26
7.4.80.0060.01019.39
7.4.70.0000.01616.45
7.4.60.0130.00716.52
7.4.50.0040.00416.64
7.4.40.0070.01016.50
7.4.30.0120.00616.42
7.4.00.0070.00714.79
7.3.330.0020.00513.17
7.3.320.0050.00013.38
7.3.310.0040.00416.41
7.3.300.0030.00316.22
7.3.290.0110.00416.34
7.3.280.0090.00816.34
7.3.270.0140.00417.40
7.3.260.0070.01016.39
7.3.250.0090.01416.36
7.3.240.0100.00616.37
7.3.230.0100.00616.39
7.3.210.0130.00616.51
7.3.200.0130.00419.39
7.3.190.0040.01516.39
7.3.180.0060.01216.65
7.3.170.0080.00816.53
7.3.160.0030.01216.36
7.3.120.0060.01014.74
7.2.330.0100.01416.65
7.2.320.0030.01316.69
7.2.310.0030.01316.80
7.2.300.0090.00816.79
7.2.290.0030.01916.75
7.2.60.0060.00916.79
7.2.00.0030.01019.54
7.1.200.0030.01015.72
7.1.100.0080.00517.91
7.1.70.0040.00417.32
7.1.60.0180.00719.25
7.1.50.0060.01517.05
7.1.00.0100.06722.34
7.0.200.0030.00716.71
7.0.140.0070.07022.09
7.0.60.0130.07319.94
7.0.50.0170.06717.73
7.0.40.0130.04020.24
7.0.30.0430.06020.25
7.0.20.0130.05720.23
7.0.10.0270.08020.36
7.0.00.0100.07320.20
5.6.280.0030.07020.92
5.6.210.0070.03720.57
5.6.200.0070.06018.29
5.6.190.0100.05320.61
5.6.180.0330.04020.64
5.6.170.0270.05720.71
5.6.160.0030.06020.51
5.6.150.0000.04718.17
5.6.140.0000.04318.11
5.6.130.0070.08018.22
5.6.120.0070.06721.02
5.6.110.0100.04020.86
5.6.100.0100.08321.13
5.6.90.0070.03721.00
5.6.80.0200.07020.44
5.6.70.3530.03720.50
5.5.350.0030.07720.32
5.5.340.0100.03717.98
5.5.330.0070.07720.27
5.5.320.0370.05320.51
5.5.310.0170.06020.41
5.5.300.0070.04717.98
5.5.290.0070.07017.98
5.5.280.0030.04320.90
5.5.270.0000.05720.87
5.5.260.0100.06020.89
5.5.250.0100.07320.50
5.5.240.0170.05720.24
5.4.450.0370.05019.48
5.4.440.0200.05019.20
5.4.430.0330.03719.62
5.4.420.0530.04319.48
5.4.410.0330.04719.36
5.4.400.0370.04019.09
5.4.390.0270.04018.87
5.4.380.0170.06018.59
5.4.370.0130.05318.59
5.4.360.0130.05318.76
5.4.350.0130.05318.75
5.4.340.0100.05318.75
5.4.320.0100.04112.50
5.4.310.0050.04112.50
5.4.300.0060.03912.50
5.4.290.0030.04212.50
5.4.280.0110.04912.39
5.4.270.0050.03712.40
5.4.260.0050.03912.39
5.4.250.0050.04212.39
5.4.240.0040.04612.40
5.4.230.0040.03812.39
5.4.220.0080.03412.39
5.4.210.0060.03512.38
5.4.200.0070.04512.38
5.4.190.0110.03812.38
5.4.180.0070.04612.38
5.4.170.0080.03312.39
5.4.160.0050.03612.39
5.4.150.0040.03812.38
5.4.140.0090.04412.07
5.4.130.0050.03912.05
5.4.120.0050.03612.02
5.4.110.0040.03812.01
5.4.100.0080.04412.01
5.4.90.0060.03812.02
5.4.80.0040.03912.02
5.4.70.0040.03612.00
5.4.60.0040.03512.01
5.4.50.0060.03412.01
5.4.40.0080.03112.00
5.4.30.0020.03911.99
5.4.20.0060.03511.99
5.4.10.0040.03612.00
5.4.00.0040.03811.48
5.3.290.0140.06112.80
5.3.280.0030.04012.71
5.3.270.0030.04212.72
5.3.260.0060.03812.72
5.3.250.0050.04012.72
5.3.240.0050.03812.72
5.3.230.0020.04112.71
5.3.220.0080.04112.68
5.3.210.0060.04212.68
5.3.200.0070.03512.68
5.3.190.0110.03912.68
5.3.180.0090.04412.67
5.3.170.0060.03912.66
5.3.160.0080.04012.67
5.3.150.0060.05312.68
5.3.140.0040.03812.66
5.3.130.0090.05212.66
5.3.120.0070.03912.66
5.3.110.0020.04912.66
5.3.100.0070.05012.12
5.3.90.0080.03312.09
5.3.80.0070.03412.09
5.3.70.0090.04512.09
5.3.60.0080.03512.07
5.3.50.0070.04212.02
5.3.40.0030.03912.02
5.3.30.0060.03911.97
5.3.20.0080.03311.76
5.3.10.0050.03511.72
5.3.00.0040.03711.72
5.2.170.0050.0309.18
5.2.160.0060.0309.18
5.2.150.0030.0319.18
5.2.140.0030.0319.18
5.2.130.0070.0409.14
5.2.120.0040.0359.14
5.2.110.0050.0329.15
5.2.100.0070.0299.14
5.2.90.0050.0289.14
5.2.80.0020.0349.14
5.2.70.0060.0319.14
5.2.60.0040.0359.09
5.2.50.0070.0429.06
5.2.40.0040.0329.04
5.2.30.0040.0349.01
5.2.20.0060.0299.00
5.2.10.0060.0288.92
5.2.00.0030.0328.79
5.1.60.0060.0228.07
5.1.50.0050.0248.06
5.1.40.0050.0268.05
5.1.30.0060.0308.39
5.1.20.0060.0308.42
5.1.10.0060.0248.14
5.1.00.0010.0288.14
5.0.50.0040.0206.62
5.0.40.0030.0216.48
5.0.30.0050.0376.29
5.0.20.0050.0176.27
5.0.10.0060.0266.24
5.0.00.0030.0316.23
4.4.90.0030.0154.78
4.4.80.0050.0134.75
4.4.70.0030.0164.75
4.4.60.0040.0144.75
4.4.50.0030.0154.77
4.4.40.0020.0264.71
4.4.30.0050.0134.76
4.4.20.0040.0244.84
4.4.10.0060.0184.85
4.4.00.0020.0264.76
4.3.110.0020.0164.67
4.3.100.0030.0244.67
4.3.90.0050.0204.63
4.3.80.0030.0274.58
4.3.70.0030.0134.63
4.3.60.0030.0234.62
4.3.50.0030.0194.63
4.3.40.0030.0234.54
4.3.30.0040.0233.28
4.3.20.0010.0223.26
4.3.10.0030.0193.22
4.3.00.0030.01715.27

preferences:
43.65 ms | 400 KiB | 5 Q