3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test{ protected $invokables; protected $some; protected function __construct($some, $invokables){ $this->some = $some; $this->invokables = $invokables; } } $t = new test();

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.0170.00318.35
8.3.50.0140.00522.04
8.3.40.0160.00318.84
8.3.30.0100.00719.17
8.3.20.0000.00820.34
8.3.10.0070.00023.48
8.3.00.0040.00420.63
8.2.180.0190.00316.63
8.2.170.0110.00422.96
8.2.160.0090.00622.26
8.2.150.0030.00624.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00822.03
8.2.110.0090.00021.88
8.2.100.0000.01217.91
8.2.90.0000.00819.26
8.2.80.0040.00417.97
8.2.70.0100.00017.50
8.2.60.0000.00817.80
8.2.50.0080.00018.07
8.2.40.0080.00019.34
8.2.30.0040.00418.05
8.2.20.0050.00317.52
8.2.10.0050.00217.56
8.2.00.0050.00317.55
8.1.280.0100.00725.92
8.1.270.0000.00823.97
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00023.81
8.1.230.0090.00518.86
8.1.220.0000.00717.74
8.1.210.0030.00618.77
8.1.200.0060.00317.22
8.1.190.0040.00417.41
8.1.180.0050.00318.10
8.1.170.0090.00018.52
8.1.160.0070.00021.86
8.1.150.0000.00718.51
8.1.140.0000.00717.38
8.1.130.0070.00017.71
8.1.120.0040.00417.25
8.1.110.0000.00717.23
8.1.100.0030.00517.20
8.1.90.0040.00417.36
8.1.80.0070.00017.32
8.1.70.0030.00317.27
8.1.60.0100.00017.49
8.1.50.0070.00017.39
8.1.40.0080.00017.45
8.1.30.0030.00517.62
8.1.20.0040.00417.45
8.1.10.0040.00417.36
8.1.00.0050.00317.42
8.0.300.0060.00318.77
8.0.290.0050.00217.05
8.0.280.0000.00718.38
8.0.270.0000.00717.30
8.0.260.0000.00716.82
8.0.250.0070.00016.85
8.0.240.0030.00316.92
8.0.230.0070.00016.97
8.0.220.0070.00016.73
8.0.210.0000.00716.75
8.0.200.0080.00316.87
8.0.190.0030.00316.89
8.0.180.0000.00816.91
8.0.170.0060.00316.89
8.0.160.0050.00316.87
8.0.150.0040.00416.89
8.0.140.0000.00916.85
8.0.130.0060.00013.31
8.0.120.0050.00316.73
8.0.110.0000.00716.87
8.0.100.0040.00416.73
8.0.90.0030.00316.75
8.0.80.0110.01016.83
8.0.70.0040.00416.88
8.0.60.0000.00716.90
8.0.50.0040.00416.86
8.0.30.0130.00816.90
8.0.20.0070.01117.40
8.0.10.0050.00316.77
8.0.00.0030.01416.62
7.4.330.0060.00015.00
7.4.320.0030.00316.52
7.4.300.0060.00016.43
7.4.290.0030.00516.54
7.4.280.0000.00716.51
7.4.270.0030.00316.56
7.4.260.0040.00416.57
7.4.250.0000.00716.41
7.4.240.0010.00616.51
7.4.230.0030.00316.42
7.4.220.0100.01016.61
7.4.210.0020.01416.53
7.4.200.0030.00316.54
7.4.190.0070.00016.66
7.4.160.0090.00616.45
7.4.150.0130.00517.40
7.4.140.0230.01017.86
7.4.130.0110.00716.56
7.4.120.0120.00716.52
7.4.110.0070.01016.43
7.4.100.0170.00016.34
7.4.90.0090.00916.39
7.4.80.0070.01016.41
7.4.70.0100.01316.53
7.4.60.0100.00616.36
7.4.50.0030.00616.19
7.4.40.0070.00722.77
7.4.30.0080.00816.40
7.4.10.0100.01015.06
7.4.00.0030.01114.90
7.3.330.0030.00313.04
7.3.320.0000.00513.10
7.3.310.0000.00716.32
7.3.300.0000.00716.13
7.3.290.0120.00316.30
7.3.280.0070.01116.25
7.3.270.0150.00917.40
7.3.260.0030.01516.34
7.3.250.0110.00716.42
7.3.240.0070.01016.43
7.3.230.0100.00716.39
7.3.210.0090.00916.32
7.3.200.0090.00919.39
7.3.190.0090.00916.32
7.3.180.0040.01616.52
7.3.170.0140.00816.47
7.3.160.0070.01016.46
7.3.130.0070.01014.57
7.3.120.0030.01414.69
7.3.110.0030.01314.44
7.3.100.0120.00414.68
7.3.90.0090.00614.84
7.3.80.0030.00914.75
7.3.70.0100.00314.77
7.3.60.0090.00314.63
7.3.50.0130.00314.71
7.3.40.0060.00614.82
7.3.30.0070.00714.82
7.3.20.0040.00716.62
7.3.10.0000.01116.44
7.3.00.0080.00216.46
7.2.330.0080.01116.45
7.2.320.0080.01216.22
7.2.310.0070.01016.55
7.2.300.0070.01016.45
7.2.290.0070.01016.63
7.2.260.0100.01014.90
7.2.250.0070.01114.91
7.2.240.0140.00014.99
7.2.230.0120.00014.82
7.2.220.0030.01314.89
7.2.210.0070.00715.00
7.2.200.0110.00415.06
7.2.190.0060.00914.98
7.2.180.0060.00914.96
7.2.170.0000.01614.79
7.2.160.0070.01015.04
7.2.150.0060.00316.91
7.2.140.0120.00416.80
7.2.130.0080.00616.96
7.2.120.0090.00516.54
7.2.110.0060.00816.73
7.2.100.0070.00716.57
7.2.90.0040.01016.68
7.2.80.0050.00616.73
7.2.70.0040.00816.86
7.2.60.0040.00816.66
7.2.50.0060.00616.80
7.2.40.0050.00816.75
7.2.30.0070.00716.88
7.2.20.0070.00416.69
7.2.10.0030.00916.69
7.2.00.0070.00617.61
7.1.330.0030.01015.75
7.1.320.0120.00315.60
7.1.310.0000.01215.62
7.1.300.0030.00915.64
7.1.290.0060.00615.61
7.1.280.0060.00615.61
7.1.270.0040.01115.47
7.1.260.0060.00615.73
7.1.250.0090.00415.47
7.1.240.0070.00715.64
7.1.230.0100.00015.64
7.1.220.0030.00715.38
7.1.210.0040.00715.58
7.1.200.0020.01015.77
7.1.190.0040.00715.35
7.1.180.0060.00315.70
7.1.170.0030.00715.45
7.1.160.0070.01015.68
7.1.150.0040.00715.71
7.1.140.0000.01315.42
7.1.130.0040.00815.65
7.1.120.0030.00715.79
7.1.110.0030.00915.66
7.1.100.0100.00616.79
7.1.90.0060.00315.61
7.1.80.0000.01315.74
7.1.70.0040.00816.22
7.1.60.0060.01117.43
7.1.50.0050.01316.23
7.1.40.0060.00615.53
7.1.30.0030.00615.70
7.1.20.0040.01115.70
7.1.10.0060.00315.66
7.1.00.0000.04819.03
7.0.330.0080.00415.29
7.0.320.0030.00915.37
7.0.310.0030.01015.12
7.0.300.0040.01115.18
7.0.290.0040.00715.20
7.0.280.0040.00715.06
7.0.270.0030.01415.38
7.0.260.0000.00915.34
7.0.250.0100.00715.32
7.0.240.0070.00715.43
7.0.230.0000.00815.04
7.0.220.0120.00415.41
7.0.210.0030.01215.49
7.0.200.0070.00616.00
7.0.190.0110.00415.04
7.0.180.0030.00615.51
7.0.170.0030.00615.38
7.0.160.0030.00715.20
7.0.150.0060.00615.28
7.0.140.0050.04018.74
7.0.130.0070.00415.41
7.0.120.0030.01315.39
7.0.110.0000.01715.34
7.0.100.0000.01715.34
7.0.90.0110.00415.39
7.0.80.0000.01014.95
7.0.70.0000.01515.21
7.0.60.0100.04117.69
7.0.50.0060.02116.61
7.0.40.0050.03016.68
7.0.30.0210.03716.79
7.0.20.0210.03816.79
7.0.10.0030.03016.79
7.0.00.0100.04116.60
5.6.400.0070.00714.40
5.6.390.0070.00414.06
5.6.380.0000.01214.15
5.6.370.0060.00614.27
5.6.360.0070.00713.97
5.6.350.0100.00314.05
5.6.340.0040.00414.05
5.6.330.0000.01014.25
5.6.320.0090.00913.79
5.6.310.0070.00714.27
5.6.300.0070.00714.25
5.6.290.0140.00314.41
5.6.280.0040.04317.68
5.6.270.0100.00314.18
5.6.260.0090.00613.98
5.6.250.0100.00714.43
5.6.240.0000.01314.04
5.6.230.0030.01114.32
5.6.220.0060.01013.88
5.6.210.0070.04517.31
5.6.200.0070.02216.31
5.6.190.0030.04017.35
5.6.180.0220.03717.40
5.6.170.0200.04017.44
5.6.160.0050.02817.38
5.6.150.0070.04316.20
5.6.140.0060.02016.10
5.6.130.0060.04916.24
5.6.120.0020.04917.69
5.6.110.0100.03317.50
5.6.100.0090.04417.60
5.6.90.0070.04817.59
5.6.80.0050.02917.28
5.6.70.0030.01014.09
5.6.60.0040.00714.26
5.6.50.0070.00714.21
5.6.40.0060.00613.92
5.6.30.0080.00414.42
5.6.20.0090.00913.97
5.6.10.0090.00314.00
5.6.00.0030.01014.18
5.5.380.0000.01713.77
5.5.370.0130.00014.22
5.5.360.0040.01114.28
5.5.350.0100.03717.27
5.5.340.0080.02515.93
5.5.330.0100.04417.30
5.5.320.0030.02817.25
5.5.310.0180.04017.24
5.5.300.0040.04516.16
5.5.290.0070.02116.01
5.5.280.0060.04417.41
5.5.270.0070.05117.39
5.5.260.0080.03717.38
5.5.250.0050.03217.29
5.5.240.0090.04116.96
5.5.230.0140.00014.14
5.5.220.0040.01113.92
5.5.210.0030.01213.85
5.5.200.0160.00013.87
5.5.190.0100.00013.97
5.5.180.0000.01113.66
5.5.170.0070.00714.20
5.5.160.0060.00614.30
5.5.150.0110.00613.93
5.5.140.0040.01114.14
5.5.130.0040.01213.89
5.5.120.0070.00414.06
5.5.110.0100.00313.86
5.5.100.0030.01414.13
5.5.90.0040.00413.93
5.5.80.0070.00314.23
5.5.70.0030.00713.97
5.5.60.0070.00613.91
5.5.50.0040.00813.84
5.5.40.0070.00713.92
5.5.30.0030.00714.44
5.5.20.0060.00613.99
5.5.10.0030.01014.07
5.5.00.0030.01014.12
5.4.450.0280.02515.13
5.4.440.0370.02515.22
5.4.430.0400.02615.16
5.4.420.0720.01315.29
5.4.410.0160.01915.15
5.4.400.0370.01514.93
5.4.390.0680.02214.71
5.4.380.0200.03814.77
5.4.370.0220.03214.75
5.4.360.0250.03614.78
5.4.350.0210.03114.84
5.4.340.0250.02414.77
5.4.330.0000.01010.99
5.4.320.0060.02711.54
5.4.310.0090.02411.64
5.4.300.0080.02211.51
5.4.290.0040.02911.64
5.4.280.0120.03011.65
5.4.270.0100.02611.44
5.4.260.0060.03211.58
5.4.250.0050.03311.71
5.4.240.0180.04711.66
5.4.230.0090.04011.70
5.4.220.0060.04211.64
5.4.210.0080.03811.60
5.4.200.0050.04311.69
5.4.190.0090.03111.62
5.4.180.0090.03011.50
5.4.170.0070.03011.60
5.4.160.0070.04211.57
5.4.150.0080.03311.63
5.4.140.0060.05011.28
5.4.130.0100.03811.46
5.4.120.0070.03011.44
5.4.110.0060.03411.27
5.4.100.0070.03311.45
5.4.90.0060.03411.37
5.4.80.0100.03311.31
5.4.70.0070.03511.44
5.4.60.0070.03611.42
5.4.50.0120.02711.36
5.4.40.0090.03211.39
5.4.30.0070.02611.45
5.4.20.0090.03211.35
5.4.10.0070.02811.37
5.4.00.0090.02511.14
5.3.290.0020.02711.69
5.3.280.0100.03311.55
5.3.270.0100.04111.55
5.3.260.0050.04711.57
5.3.250.0100.03611.55
5.3.240.0210.04711.53
5.3.230.0090.03111.57
5.3.220.0050.03511.45
5.3.210.0090.04411.45
5.3.200.0120.03611.44
5.3.190.0110.04111.43
5.3.180.0100.03111.52
5.3.170.0210.05211.55
5.3.160.0090.02411.57
5.3.150.0040.03111.43
5.3.140.0100.04911.49
5.3.130.0060.04111.51
5.3.120.0050.03611.49
5.3.110.0090.03211.48
5.3.100.0110.04811.18
5.3.90.0100.02811.13
5.3.80.0060.03111.20
5.3.70.0050.04611.17
5.3.60.0120.03811.18
5.3.50.0090.03511.10
5.3.40.0090.05011.12
5.3.30.0060.02711.10
5.3.20.0100.04910.99
5.3.10.0050.03610.95
5.3.00.0040.03910.94
5.2.170.0110.0679.19
5.2.160.0150.1099.19
5.2.150.0120.0509.19
5.2.140.0070.0349.19
5.2.130.0040.0339.14
5.2.120.0080.0419.14
5.2.110.0060.0329.15
5.2.100.0180.0719.15
5.2.90.0150.0339.14
5.2.80.0130.0539.14
5.2.70.0140.0629.14
5.2.60.0110.0519.09
5.2.50.0100.0389.06
5.2.40.0070.0309.04
5.2.30.0160.0459.02
5.2.20.0120.0379.00
5.2.10.0060.0538.91
5.2.00.0120.0488.78
5.1.60.0070.0348.05
5.1.50.0050.0348.06
5.1.40.0170.0468.04
5.1.30.0080.0518.39
5.1.20.0110.0498.42
5.1.10.0090.0458.14
5.1.00.0080.0418.14
5.0.50.0060.0226.61
5.0.40.0050.0206.47
5.0.30.0040.0366.29
5.0.20.0040.0296.26
5.0.10.0060.0316.23
5.0.00.0070.0426.22
4.4.90.0040.0304.78
4.4.80.0060.0244.75
4.4.70.0040.0244.75
4.4.60.0030.0234.76
4.4.50.0060.0224.77
4.4.40.0040.0344.71
4.4.30.0070.0214.76
4.4.20.0050.0244.85
4.4.10.0080.0244.85
4.4.00.0190.0644.76
4.3.110.0100.0404.67
4.3.100.0060.0374.66
4.3.90.0050.0224.63
4.3.80.0070.0394.58
4.3.70.0040.0274.63
4.3.60.0080.0174.63
4.3.50.0040.0254.62
4.3.40.0080.0384.54
4.3.30.0040.0213.29
4.3.20.0030.0223.27
4.3.10.0080.0243.23
4.3.00.0130.01313.64

preferences:
36.99 ms | 401 KiB | 5 Q