3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdClass(); $b = new stdClass(); $b->c = [1]; $a->b = [$b]; debug_zval_dump($a);

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.0120.00318.55
8.3.50.0070.01017.83
8.3.40.0090.00618.49
8.3.30.0110.00418.71
8.3.20.0040.00419.01
8.3.10.0040.00421.78
8.3.00.0050.00318.04
8.2.180.0120.00618.16
8.2.170.0060.01122.96
8.2.160.0140.00019.08
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00819.77
8.2.120.0000.00726.35
8.2.110.0060.00322.20
8.2.100.0080.00417.78
8.2.90.0080.00017.63
8.2.80.0060.00318.83
8.2.70.0000.00817.93
8.2.60.0040.00417.63
8.2.50.0060.00317.55
8.2.40.0000.00817.75
8.2.30.0000.00719.34
8.2.20.0070.00018.10
8.2.10.0040.00418.05
8.2.00.0030.00319.38
8.1.280.0110.00425.92
8.1.270.0000.00823.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00023.88
8.1.230.0070.00419.15
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0060.00317.13
8.1.190.0040.00417.35
8.1.180.0030.00518.10
8.1.170.0080.00017.62
8.1.160.0040.00418.92
8.1.150.0000.00718.80
8.1.140.0090.00017.80
8.1.130.0030.00618.95
8.1.120.0000.00717.45
8.1.110.0000.00717.46
8.1.100.0000.00717.46
8.1.90.0050.00817.37
8.1.80.0080.00317.34
8.1.70.0000.00717.43
8.1.60.0090.00017.50
8.1.50.0000.00817.46
8.1.40.0030.00517.39
8.1.30.0040.00417.62
8.1.20.0080.00017.57
8.1.10.0060.00317.47
8.1.00.0070.00617.51
8.0.300.0050.00218.77
8.0.290.0000.00816.75
8.0.280.0000.00818.43
8.0.270.0070.00017.12
8.0.260.0050.00517.31
8.0.250.0000.00717.01
8.0.240.0000.00716.91
8.0.230.0050.00316.95
8.0.220.0000.00716.89
8.0.210.0000.00716.77
8.0.200.0030.00516.96
8.0.190.0050.00316.94
8.0.180.0000.00716.80
8.0.170.0030.00616.87
8.0.160.0030.00616.90
8.0.150.0060.00316.81
8.0.140.0040.00416.79
8.0.130.0000.00713.30
8.0.120.0060.00316.80
8.0.110.0000.00716.93
8.0.100.0040.00416.81
8.0.90.0030.00516.93
8.0.80.0120.00316.85
8.0.70.0020.00516.88
8.0.60.0000.00716.89
8.0.50.0040.00416.75
8.0.30.0070.01116.93
8.0.20.0070.01217.40
8.0.10.0040.00416.90
8.0.00.0080.01516.86
7.4.330.0050.00015.55
7.4.320.0000.00616.60
7.4.300.0000.00716.59
7.4.290.0030.00316.61
7.4.280.0000.00716.50
7.4.270.0080.00016.50
7.4.260.0000.00716.58
7.4.250.0000.00716.57
7.4.240.0020.00516.51
7.4.230.0000.00716.63
7.4.220.0050.00316.49
7.4.210.0070.00916.59
7.4.200.0070.00016.69
7.4.160.0110.00716.48
7.4.140.0140.00917.86
7.4.130.0100.01416.39
7.4.120.0110.00716.47
7.4.110.0140.00316.39
7.4.100.0040.01716.46
7.4.90.0140.00416.46
7.4.80.0100.01019.39
7.4.70.0110.00616.55
7.4.60.0090.00916.65
7.4.50.0090.00616.30
7.4.40.0070.01016.47
7.4.00.0030.01115.08
7.3.330.0000.00513.13
7.3.320.0000.00613.11
7.3.310.0000.00716.19
7.3.300.0030.00316.25
7.3.290.0000.00716.25
7.3.280.0030.01316.20
7.3.260.0110.00816.52
7.3.240.0100.00916.37
7.3.230.0070.01016.30
7.3.210.0130.00316.19
7.3.200.0030.01316.20
7.3.190.0070.01016.33
7.3.180.0070.01016.54
7.3.170.0080.01116.41
7.3.160.0120.00616.34
7.2.330.0110.01416.38
7.2.320.0120.00416.55
7.2.310.0100.01416.61
7.2.300.0060.01316.39
7.2.290.0110.01116.38
7.2.60.0170.00716.87
7.2.40.1330.00817.82
7.2.30.1050.00917.99
7.2.20.0880.01117.78
7.2.10.1040.01017.79
7.2.00.1640.00917.90
7.1.200.0000.01315.78
7.1.160.1060.01016.98
7.1.150.1270.00816.51
7.1.140.0940.00816.77
7.1.130.1450.00916.80
7.1.120.1920.00517.00
7.1.110.1450.00816.43
7.1.100.1670.00916.06
7.1.90.1600.00816.23
7.1.80.1380.00716.06
7.1.70.1880.00915.04
7.1.60.1880.01233.02
7.1.50.1770.01333.00
7.1.40.1980.01132.53
7.1.30.1280.01432.62
7.1.20.1310.01132.88
7.1.10.1100.01014.71
7.1.00.1130.00714.75

preferences:
32.55 ms | 400 KiB | 5 Q