3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo extends ArrayObject { function __construct() {} } new Foo(); var_dump((new ReflectionClass('Foo'))->isInternal()); (new ReflectionClass('Foo'))->newInstanceWithoutConstructor();

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.0090.01216.50
8.3.50.0130.00822.12
8.3.40.0070.00718.63
8.3.30.0030.01018.92
8.3.20.0050.00220.30
8.3.10.0050.00223.65
8.3.00.0040.00419.13
8.2.180.0040.01118.29
8.2.170.0070.00722.96
8.2.160.0100.00320.22
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0060.00926.16
8.2.120.0050.00322.14
8.2.110.0140.00722.21
8.2.100.0060.00617.66
8.2.90.0000.00817.70
8.2.80.0090.00017.97
8.2.70.0040.00417.25
8.2.60.0030.00519.50
8.2.50.0000.00818.07
8.2.40.0000.00819.95
8.2.30.0000.00819.77
8.2.20.0000.00817.61
8.2.10.0000.00717.90
8.2.00.0000.01217.58
8.1.280.0060.00825.92
8.1.270.0040.00423.84
8.1.260.0030.00526.35
8.1.250.0020.00528.09
8.1.240.0050.00522.39
8.1.230.0110.00020.86
8.1.220.0040.00417.74
8.1.210.0000.00818.85
8.1.200.0090.00017.22
8.1.190.0000.00817.11
8.1.180.0050.00518.10
8.1.170.0050.00318.66
8.1.160.0000.00721.90
8.1.150.0040.00718.51
8.1.140.0040.00417.38
8.1.130.0000.00717.76
8.1.120.0000.00717.38
8.1.110.0040.00417.17
8.1.100.0070.00017.33
8.1.90.0000.00717.21
8.1.80.0000.00717.39
8.1.70.0040.00417.34
8.1.60.0030.00617.57
8.1.50.0040.00417.36
8.1.40.0040.00417.41
8.1.30.0030.00517.40
8.1.20.0020.00517.54
8.1.10.0050.00217.50
8.1.00.0000.00817.50
8.0.300.0000.00720.03
8.0.290.0020.00517.13
8.0.280.0070.00018.31
8.0.270.0030.00317.24
8.0.260.0030.00317.24
8.0.250.0000.00816.88
8.0.240.0050.00316.89
8.0.230.0030.00316.79
8.0.220.0070.00016.64
8.0.210.0000.00716.80
8.0.200.0030.00316.82
8.0.190.0040.00416.82
8.0.180.0040.00416.86
8.0.170.0040.00416.70
8.0.160.0000.00716.83
8.0.150.0030.00316.68
8.0.140.0000.00716.71
8.0.130.0000.00613.16
8.0.120.0000.00716.77
8.0.110.0040.00416.66
8.0.100.0000.00716.80
8.0.90.0030.00516.62
8.0.80.0060.01016.75
8.0.70.0070.00016.70
8.0.60.0000.00716.68
8.0.50.0000.00716.65
8.0.30.0050.01316.97
8.0.20.0110.00817.40
8.0.10.0000.00716.76
8.0.00.0080.01116.82
7.4.330.0000.00515.03
7.4.320.0030.00316.51
7.4.300.0030.00316.50
7.4.290.0060.00316.52
7.4.280.0000.00716.38
7.4.270.0000.00716.46
7.4.260.0000.00716.43
7.4.250.0060.00316.46
7.4.240.0040.00416.50
7.4.230.0040.00416.56
7.4.220.0100.00716.50
7.4.210.0060.01016.43
7.4.200.0000.00716.42
7.4.190.0070.00016.49
7.4.160.0070.01016.26
7.4.150.0120.00617.40
7.4.140.0090.00917.86
7.4.130.0160.00216.54
7.4.120.0080.00816.45
7.4.110.0110.00616.38
7.4.100.0120.00616.46
7.4.90.0130.00916.47
7.4.80.0150.00619.39
7.4.70.0100.00716.47
7.4.60.0130.00616.52
7.4.50.0080.00016.47
7.4.40.0060.01022.77
7.4.30.0030.01716.27
7.4.00.0070.01014.95
7.3.330.0020.00313.24
7.3.320.0030.00313.09
7.3.310.0040.00416.27
7.3.300.0000.00716.12
7.3.290.0110.00316.24
7.3.280.0100.00816.26
7.3.270.0170.00017.40
7.3.260.0110.01116.25
7.3.250.0110.01016.27
7.3.240.0030.01316.23
7.3.230.0110.00816.39
7.3.210.0140.00416.20
7.3.200.0110.00819.39
7.3.190.0040.01616.48
7.3.180.0090.00616.39
7.3.170.0100.00616.47
7.3.160.0090.00616.12
7.3.120.0000.01114.73
7.2.330.0140.01116.35
7.2.320.0040.01716.51
7.2.310.0100.00716.66
7.2.300.0030.01316.38
7.2.290.0090.00616.75
7.1.70.0240.00316.91
7.1.60.0120.01219.46
7.1.50.0100.02034.78
7.1.00.0030.07322.45
7.0.200.0240.00814.52
7.0.140.0070.07022.09
7.0.60.0070.08720.01
7.0.50.0070.05317.91
7.0.40.0070.06320.25
7.0.30.0230.04720.08
7.0.20.0430.07320.23
7.0.10.0230.07720.14
7.0.00.0070.09020.07
5.6.280.0170.06021.10
5.6.210.0030.09320.56
5.6.200.0030.05018.22
5.6.190.0030.09020.50
5.6.180.0200.07020.68
5.6.170.0270.03020.40
5.6.160.0100.05320.54
5.6.150.0100.03318.15
5.6.140.0130.07318.17
5.6.130.0000.09018.19
5.6.120.0070.08321.02
5.6.110.0170.04721.14
5.6.100.0130.08020.99
5.6.90.0000.07721.00
5.6.80.0130.06320.54
5.6.70.3070.03020.44
5.5.350.0070.07720.41
5.5.340.0070.04718.04
5.5.330.0100.07720.57
5.5.320.0470.06720.24
5.5.310.0270.08020.41
5.5.300.0100.05017.96
5.5.290.0030.05017.97
5.5.280.0000.05720.73
5.5.270.0030.04020.77
5.5.260.0200.03320.73
5.5.250.0000.05320.67
5.5.240.0030.08320.27
5.4.450.0870.04019.30
5.4.440.0830.05719.60
5.4.430.0600.07019.44
5.4.420.0370.06319.53
5.4.410.0670.05319.35
5.4.400.0530.05719.16
5.4.390.0830.05018.84
5.4.380.0400.04318.75
5.4.370.0470.05318.50
5.4.360.0330.05018.59
5.4.350.0300.05718.48
5.4.340.0300.05718.80
5.4.320.0080.03412.51
5.4.310.0060.03712.50
5.4.300.0050.03712.51
5.4.290.0020.04612.49
5.4.280.0080.05312.38
5.4.270.0090.05112.39
5.4.260.0080.05712.38
5.4.250.0080.05612.39
5.4.240.0070.05312.39
5.4.230.0100.04812.38
5.4.220.0130.04712.38
5.4.210.0120.04712.38
5.4.200.0070.05012.38
5.4.190.0090.04512.38
5.4.180.0090.05712.38
5.4.170.0070.06112.39
5.4.160.0080.05112.39
5.4.150.0090.04912.38
5.4.140.0090.05712.06
5.4.130.0110.04912.05
5.4.120.0080.04012.01
5.4.110.0070.03512.01
5.4.100.0040.03812.00
5.4.90.0090.04012.00
5.4.80.0070.04912.00
5.4.70.0080.04612.00
5.4.60.0080.04912.00
5.4.50.0060.05412.00
5.4.40.0090.04911.99
5.4.30.0050.05411.99
5.4.20.0100.04911.98
5.4.10.0100.03711.99
5.4.00.0040.04211.48
5.3.290.0060.04212.80
5.3.280.0050.05312.71
5.3.270.0080.05312.73
5.3.260.0090.05412.71
5.3.250.0030.06412.72
5.3.240.0060.05512.72
5.3.230.0090.05212.71
5.3.220.0060.05712.68
5.3.210.0030.05012.68
5.3.200.0040.04012.68
5.3.190.0040.04012.68
5.3.180.0080.03412.67
5.3.170.0050.04312.67
5.3.160.0110.03912.67
5.3.150.0090.03512.68
5.3.140.0050.03912.66
5.3.130.0050.03912.66
5.3.120.0050.03912.66
5.3.110.0080.03812.66
5.3.100.0060.03712.13
5.3.90.0060.03612.11
5.3.80.0020.04312.10
5.3.70.0060.04012.10
5.3.60.0110.05412.08
5.3.50.0080.05412.03
5.3.40.0060.04012.03
5.3.30.0050.04511.98
5.3.20.0080.04611.77
5.3.10.0080.04911.73
5.3.00.0050.05311.73
5.2.170.0060.0439.22
5.2.160.0100.0389.23
5.2.150.0050.0469.22
5.2.140.0070.0709.22
5.2.130.0050.0459.18
5.2.120.0100.0399.18
5.2.110.0070.0419.18
5.2.100.0050.0449.18
5.2.90.0110.0399.18
5.2.80.0080.0449.18
5.2.70.0040.0349.18
5.2.60.0040.0339.14
5.2.50.0060.0389.11
5.2.40.0050.0379.08
5.2.30.0120.0719.05
5.2.20.0080.0339.04
5.2.10.0040.0308.95
5.2.00.0040.0308.80
5.1.60.0060.0318.09
5.1.50.0120.0438.09
5.1.40.0130.0418.07
5.1.30.0070.0478.42
5.1.20.0090.0678.44
5.1.10.0120.0798.17
5.1.00.0070.0248.16
5.0.50.0060.0206.64
5.0.40.0050.0196.50
5.0.30.0050.0396.32
5.0.20.0060.0246.28
5.0.10.0040.0286.26
5.0.00.0060.0376.25
4.4.90.0060.0194.77
4.4.80.0050.0264.75
4.4.70.0030.0264.76
4.4.60.0050.0234.75
4.4.50.0040.0224.77
4.4.40.0030.0324.71
4.4.30.0020.0264.76
4.4.20.0060.0204.84
4.4.10.0030.0244.85
4.4.00.0050.0394.75
4.3.110.0050.0204.67
4.3.100.0060.0214.67
4.3.90.0070.0224.63
4.3.80.0040.0324.58
4.3.70.0060.0184.63
4.3.60.0040.0164.63
4.3.50.0050.0134.63
4.3.40.0000.0274.54
4.3.30.0030.0153.30
4.3.20.0020.0163.27
4.3.10.0010.0173.24
4.3.00.0000.02710.55

preferences:
41.3 ms | 401 KiB | 5 Q