3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = new stdClass(); $r->a=new stdClass(); $r->a=['test']; var_dump($r);

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.0130.00718.51
8.3.30.0000.01418.57
8.3.20.0040.00421.90
8.3.10.0080.00023.53
8.3.00.0040.00419.13
8.2.170.0110.00422.96
8.2.160.0100.00319.13
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00420.51
8.2.120.0070.00026.35
8.2.110.0000.01020.85
8.2.100.0000.01217.75
8.2.90.0030.00619.18
8.2.80.0060.00317.97
8.2.70.0080.00017.50
8.2.60.0040.00417.93
8.2.50.0030.00618.10
8.2.40.0000.00820.51
8.2.30.0040.00419.16
8.2.20.0050.00317.86
8.2.10.0070.00017.87
8.2.00.0020.00517.99
8.1.270.0040.00420.57
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00322.71
8.1.230.0070.00422.08
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0060.00317.36
8.1.190.0050.00217.22
8.1.180.0060.00318.10
8.1.170.0030.00518.52
8.1.160.0040.00418.78
8.1.150.0080.00018.78
8.1.140.0030.00519.50
8.1.130.0030.00318.73
8.1.120.0040.00417.47
8.1.110.0040.00417.40
8.1.100.0050.00317.40
8.1.90.0000.00817.27
8.1.80.0030.00617.30
8.1.70.0030.00317.41
8.1.60.0060.00317.50
8.1.50.0000.00817.45
8.1.40.0060.00317.46
8.1.30.0040.00417.59
8.1.20.0040.00417.63
8.1.10.0030.00517.46
8.1.00.0040.00417.36
8.0.300.0040.00418.77
8.0.290.0020.00516.63
8.0.280.0040.00218.42
8.0.270.0000.00717.18
8.0.260.0040.00417.23
8.0.250.0030.00316.73
8.0.240.0040.00416.75
8.0.230.0000.00716.85
8.0.220.0070.00016.79
8.0.210.0000.00716.75
8.0.200.0030.00316.80
8.0.190.0090.00016.86
8.0.180.0000.00716.74
8.0.170.0050.00316.89
8.0.160.0000.00716.82
8.0.150.0100.00016.66
8.0.140.0000.00816.66
8.0.130.0000.00613.20
8.0.120.0000.00716.80
8.0.110.0050.00316.64
8.0.100.0000.00716.83
8.0.90.0000.00716.84
8.0.80.0080.01116.83
8.0.70.0000.00716.60
8.0.60.0040.00416.70
8.0.50.0040.00416.88
8.0.30.0100.00717.03
8.0.20.0140.00717.40
8.0.10.0040.00416.89
8.0.00.0070.01016.70
7.4.330.0000.00615.55
7.4.320.0070.00016.44
7.4.300.0030.00316.43
7.4.290.0040.00416.43
7.4.280.0040.00416.32
7.4.270.0070.00016.38
7.4.260.0000.00716.55
7.4.250.0080.00016.32
7.4.240.0030.00316.45
7.4.230.0000.00716.57
7.4.220.0040.01516.46
7.4.210.0090.01116.58
7.4.200.0020.00516.50
7.4.160.0100.00516.35
7.4.150.0090.00917.40
7.4.140.0090.00917.86
7.4.130.0160.00916.37
7.4.120.0120.00916.26
7.4.110.0080.00816.22
7.4.100.0110.00716.36
7.4.90.0170.00016.28
7.4.80.0040.01519.39
7.4.70.0080.01116.37
7.4.60.0160.00616.36
7.4.50.0040.01116.33
7.4.40.0110.00516.43
7.4.30.0120.00916.36
7.4.00.0030.00914.65
7.3.330.0000.00613.09
7.3.320.0030.00313.04
7.3.310.0030.00316.13
7.3.300.0000.00716.21
7.3.290.0060.00816.21
7.3.280.0070.00916.21
7.3.270.0130.00717.40
7.3.260.0090.00916.34
7.3.250.0140.00716.22
7.3.240.0100.00916.36
7.3.230.0060.01116.25
7.3.210.0060.01316.38
7.3.200.0070.01016.42
7.3.190.0060.01516.29
7.3.180.0130.01016.39
7.3.170.0130.00316.26
7.3.160.0050.01116.31
7.2.330.0040.01216.41
7.2.320.0100.00616.55
7.2.310.0030.01316.49
7.2.300.0030.01316.32
7.2.290.0150.00016.62
7.2.60.0060.00616.96
7.2.00.0090.00319.40
7.1.200.0060.00915.78
7.1.100.0090.00318.12
7.1.70.0040.00417.23
7.1.60.0060.00616.95
7.1.50.0970.02032.77
7.1.40.0570.01332.23
7.1.30.1130.01332.39
7.1.20.0830.01332.37
7.1.10.0400.01314.65
7.1.00.0830.00314.89
7.0.200.0060.01216.43
7.0.190.0670.01014.75
7.0.180.0730.00714.07
7.0.170.0730.01314.19
7.0.160.0930.01014.08
7.0.150.0630.01014.20
7.0.140.0830.00714.01
7.0.130.0730.01014.57
7.0.120.0700.01314.62
7.0.110.1170.00714.28
7.0.100.0730.01714.47
7.0.90.0600.01314.37
7.0.80.0530.01014.34
7.0.70.0500.01314.29
7.0.60.0600.01014.33
7.0.50.0530.01314.41
7.0.40.0470.01014.45
7.0.30.0500.00714.44
7.0.20.0770.01014.46
7.0.10.0870.00714.52
7.0.00.0870.01314.49

preferences:
57.74 ms | 400 KiB | 5 Q