3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { private $field; function __construct(){ $this->field = new B; } function __debugInfo(){ return ["should only appear in dump"]; } } class B { private $field; function __construct(){ $this->field = new stdclass; } function __debugInfo(){ return ["should only appear in dump"]; } } $not_debug = (array)new A; var_dump($not_debug);

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.70.0060.01216.63
8.3.60.0140.00418.31
8.3.50.0090.01021.99
8.3.40.0070.00718.71
8.3.30.0150.00018.53
8.3.20.0080.00023.39
8.3.10.0080.00020.30
8.3.00.0080.00020.94
8.2.190.0140.00416.58
8.2.180.0140.00418.41
8.2.170.0070.00722.96
8.2.160.0030.01020.39
8.2.150.0000.00825.66
8.2.140.0000.00824.66
8.2.130.0000.00717.97
8.2.120.0000.00826.16
8.2.110.0060.00320.52
8.2.100.0100.00317.91
8.2.90.0040.00417.91
8.2.80.0000.00817.97
8.2.70.0000.00817.80
8.2.60.0040.00418.09
8.2.50.0040.00418.10
8.2.40.0040.00419.17
8.2.30.0040.00419.09
8.2.20.0040.00418.10
8.2.10.0040.00417.99
8.2.00.0070.00017.48
8.1.280.0140.00025.92
8.1.270.0000.00823.82
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0120.00017.23
8.1.230.0040.00722.81
8.1.220.0090.00017.74
8.1.210.0050.00318.77
8.1.200.0050.00517.35
8.1.190.0030.00617.23
8.1.180.0060.00318.10
8.1.170.0000.00918.50
8.1.160.0070.00018.86
8.1.150.0070.00018.86
8.1.140.0000.00819.47
8.1.130.0030.00319.05
8.1.120.0050.00217.41
8.1.110.0060.00317.36
8.1.100.0040.00417.38
8.1.90.0040.00417.50
8.1.80.0070.00017.47
8.1.70.0070.00017.28
8.1.60.0070.00017.58
8.1.50.0020.00517.50
8.1.40.0000.00817.52
8.1.30.0030.00617.63
8.1.20.0070.00017.60
8.1.10.0040.00417.55
8.1.00.0080.00017.43
8.0.300.0040.00419.91
8.0.290.0030.00616.63
8.0.280.0030.00318.29
8.0.270.0070.00016.75
8.0.260.0000.00617.15
8.0.250.0030.00316.91
8.0.240.0060.00316.89
8.0.230.0040.00516.85
8.0.220.0000.00716.76
8.0.210.0030.00316.79
8.0.200.0050.00316.90
8.0.190.0050.00316.88
8.0.180.0050.00316.79
8.0.170.0040.00416.71
8.0.160.0040.00416.88
8.0.150.0040.00416.89
8.0.140.0070.00016.83
8.0.130.0000.00613.25
8.0.120.0040.00416.77
8.0.110.0080.00016.70
8.0.100.0000.00716.95
8.0.90.0070.00016.81
8.0.80.0120.00316.77
8.0.70.0000.00716.69
8.0.60.0000.00716.94
8.0.50.0040.00416.77
8.0.30.0140.00517.07
8.0.20.0090.00917.40
8.0.10.0000.00816.86
8.0.00.0070.01716.77
7.4.330.0050.00015.55
7.4.320.0040.00416.43
7.4.300.0030.00316.64
7.4.290.0030.00616.35
7.4.280.0040.00416.50
7.4.270.0000.00816.62
7.4.260.0030.00616.52
7.4.250.0040.00416.48
7.4.240.0070.00016.50
7.4.230.0020.00516.64
7.4.220.0070.01716.60
7.4.210.0060.00816.62
7.4.200.0040.00416.33
7.4.160.0040.01316.41
7.4.150.0110.00917.40
7.4.140.0130.00717.86
7.4.130.0110.00616.55
7.4.120.0120.00816.55
7.4.110.0150.00916.47
7.4.100.0060.01016.48
7.4.90.0060.01116.35
7.4.80.0130.00319.39
7.4.70.0090.00616.45
7.4.60.0130.00316.59
7.4.50.0060.00616.50
7.4.40.0120.00316.52
7.4.30.0030.01716.57
7.4.00.0100.00714.88
7.3.330.0030.00313.15
7.3.320.0000.00513.31
7.3.310.0020.00516.36
7.3.300.0000.00716.30
7.3.290.0070.00816.28
7.3.280.0080.00916.28
7.3.270.0170.00017.40
7.3.260.0060.01216.30
7.3.250.0090.00816.36
7.3.240.0110.00816.36
7.3.230.0140.00616.41
7.3.210.0110.00616.23
7.3.200.0100.00716.46
7.3.190.0060.01216.31
7.3.180.0100.00616.38
7.3.170.0030.01316.32
7.3.160.0030.01216.49
7.2.330.0100.00616.63
7.2.320.0100.00716.66
7.2.310.0060.00916.37
7.2.300.0110.00816.42
7.2.290.0030.01416.57
7.2.60.0070.00416.64
7.1.200.0040.00415.74
7.1.70.0060.01116.86
7.1.60.0090.00917.14
7.1.50.0070.01116.89
7.1.40.0090.00916.45
7.1.30.0050.01316.68
7.1.20.0120.01216.69
7.1.10.0050.01316.60
7.1.00.0030.01016.61
7.0.200.0030.01016.79
7.0.190.0060.01216.76
7.0.180.0070.01016.37
7.0.170.0110.00316.18
7.0.160.0000.00816.12
7.0.150.0090.00916.21
7.0.140.0050.00516.43
7.0.130.0100.00616.39
7.0.120.0000.01316.68
7.0.110.0000.00716.44
7.0.100.0000.01016.49
7.0.90.0060.00616.29
7.0.80.0000.00716.26
7.0.70.0030.01316.39
7.0.60.0000.00915.93
7.0.50.0000.01016.16
7.0.40.0100.00015.20
7.0.30.0030.00715.20
7.0.20.0000.01215.20
7.0.10.0060.01015.20
7.0.00.0000.01415.20
5.6.300.0070.07420.93
5.6.290.0000.04420.83
5.6.280.0070.08420.79
5.6.270.0100.05620.80
5.6.260.0000.08520.95
5.6.250.0070.07620.98
5.6.240.0000.05520.90
5.6.230.0000.04920.98
5.6.220.0100.04620.86
5.6.210.0070.05921.06
5.6.200.0070.06420.98
5.6.190.0070.03920.94
5.6.180.0130.03020.83
5.6.170.0030.05520.78
5.6.160.0030.06220.71
5.6.150.0030.04520.81
5.6.140.0100.05720.94
5.6.130.0060.04221.03
5.6.120.0000.04520.84
5.6.110.0070.07720.81
5.6.100.0030.04120.77
5.6.90.0070.04321.02
5.6.80.0030.03820.45
5.6.70.0000.04320.30
5.6.60.0070.03720.21
5.6.50.0070.06220.21
5.6.40.0070.04720.22
5.6.30.0030.04020.30
5.6.20.0000.07520.13
5.6.10.0060.04220.20
5.6.00.0000.04220.33
5.5.380.0070.03617.41
5.5.370.0070.03617.64
5.5.360.0040.03917.43
5.5.350.0000.08517.47
5.5.340.0220.03518.02
5.5.330.0030.04118.08
5.5.320.0000.04418.00
5.5.310.0070.07918.00
5.5.300.0000.05818.10
5.5.290.0030.05917.84
5.5.280.0030.05117.99
5.5.270.0070.04017.84
5.5.260.0000.06617.84
5.5.250.0100.03317.89
5.5.240.0000.04017.51
5.5.230.0030.04017.12
5.5.220.0000.04017.37
5.5.210.0000.06417.09
5.5.200.0030.04117.36
5.5.190.0030.03817.34
5.5.180.0030.07717.42
5.5.160.0030.03917.43
5.5.150.0070.05217.05
5.5.140.0030.03717.43
5.5.130.0030.05317.44
5.5.120.0000.04817.09
5.5.110.0000.08617.05
5.5.100.0000.04517.00
5.5.90.0070.05017.23
5.5.80.0000.04217.24
5.5.70.0100.05217.25
5.5.60.0030.03716.98
5.5.50.0100.05916.94
5.5.40.0070.07117.30
5.5.30.0030.05616.94
5.5.20.0030.07417.29
5.5.10.0040.03916.95
5.5.00.0000.04317.09
5.4.450.0100.03319.27
5.4.440.0030.08819.27
5.4.430.0030.03819.30
5.4.420.0030.03819.43
5.4.410.0030.03819.12
5.4.400.0030.03819.14
5.4.390.0000.04219.13
5.4.380.0070.03319.05
5.4.370.0000.08819.07
5.4.360.0070.05918.98
5.4.350.0070.03319.06
5.4.340.0000.04218.99
5.4.320.0030.05219.08
5.4.310.0000.04018.98
5.4.300.0060.03418.89
5.4.290.0000.07819.08
5.4.280.0030.06619.07
5.4.270.0030.06719.19
5.4.260.0030.07619.03
5.4.250.0190.02918.91
5.4.240.0000.04519.12
5.4.230.0000.07919.13
5.4.220.0060.03619.06
5.4.210.0070.08019.07
5.4.200.0030.08219.05
5.4.190.0000.05519.21
5.4.180.0060.04219.05
5.4.170.0030.03719.03
5.4.160.0030.06319.18
5.4.150.0000.04219.05
5.4.140.0030.03616.70
5.4.130.0070.03216.50
5.4.120.0030.03316.82
5.4.110.0000.03716.80
5.4.100.0100.06816.54
5.4.90.0070.07216.69
5.4.80.0160.03516.63
5.4.70.0060.03216.80
5.4.60.0000.04116.67
5.4.50.0030.03516.71
5.4.40.0030.03816.79
5.4.30.0030.03616.45
5.4.20.0000.04116.55
5.4.10.0030.06516.48
5.4.00.0070.05015.94
5.3.290.0070.03915.20
5.3.280.0000.08215.20
5.3.270.0070.03315.20
5.3.260.0030.04115.20
5.3.250.0000.03915.20
5.3.240.0000.03915.20
5.3.230.0000.03815.20
5.3.220.0000.05515.20
5.3.210.0000.04015.20
5.3.200.0000.07515.20
5.3.190.0000.07715.20
5.3.180.0030.03715.20
5.3.170.0060.03215.20
5.3.160.0030.03615.20
5.3.150.0000.03915.20
5.3.140.0000.04115.20
5.3.130.0030.03615.20
5.3.120.0060.03515.20
5.3.110.0000.04115.20
5.3.100.0000.03815.20
5.3.90.0000.04815.20
5.3.80.0030.03515.20
5.3.70.0000.03715.20
5.3.60.0000.03815.20
5.3.50.0230.04015.20
5.3.40.0030.03815.20
5.3.30.0000.03615.20
5.3.20.0030.03315.20
5.3.10.0040.03215.20
5.3.00.0070.06215.20
5.2.170.0090.02515.20
5.2.160.0030.03015.20
5.2.150.0030.02815.20
5.2.140.0000.03215.20
5.2.130.0000.02915.20
5.2.120.0000.03115.20
5.2.110.0000.06215.20
5.2.100.0070.03115.20
5.2.90.0070.02315.20
5.2.80.0030.02815.20
5.2.70.0060.02815.20
5.2.60.0030.03115.20
5.2.50.0040.02915.20
5.2.40.0070.02415.20
5.2.30.0030.04915.20
5.2.20.0000.03115.20
5.2.10.0000.02915.20
5.2.00.0070.04615.20
5.1.60.0030.02315.20
5.1.50.0030.05615.20
5.1.40.0000.04015.20
5.1.30.0070.04615.20
5.1.20.0030.04315.20
5.1.10.0060.02215.20
5.1.00.0000.02715.20
5.0.50.0030.02015.20
5.0.40.0000.02215.20
5.0.30.0030.02915.20
5.0.20.0060.01615.20
5.0.10.0000.02115.20
5.0.00.0000.03515.20
4.4.90.0030.01515.20
4.4.80.0000.01815.20
4.4.70.0070.02115.20
4.4.60.0000.02615.20
4.4.50.0000.03815.20
4.4.40.0060.02915.20
4.4.30.0000.01915.20
4.4.20.0030.01715.20
4.4.10.0030.01315.20
4.4.00.0030.02415.20
4.3.110.0030.01315.20
4.3.100.0030.02215.20
4.3.90.0000.01815.20
4.3.80.0030.03315.20
4.3.70.0030.01315.20
4.3.60.0000.01915.20
4.3.50.0000.01615.20
4.3.40.0000.02615.20
4.3.30.0000.02315.20
4.3.20.0040.01515.20
4.3.10.0000.01815.20
4.3.00.0040.03215.20

preferences:
33.63 ms | 401 KiB | 5 Q