3v4l.org

run code in 300+ PHP versions simultaneously
<?php $entities = [ 'deliveredAt' => null, 'issuedAt' => null, 'totals' => [ 'due' => null, 'gross' => null, 'net' => null, 'tax' => [ 'amount' => null, 'net' => null, 'rate' => null, ], ] ]; $realData = [ "issuedAt" => "2020-08-20", "totals" => [ "tax" => [ 'net' => 42, ] ] ]; print_r(array_replace_recursive($entities, $realData));

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.130.0100.01018.09
8.3.120.0000.00818.75
8.3.110.0040.00420.94
8.3.100.0030.00616.45
8.3.90.0080.00020.07
8.3.80.0070.00316.63
8.3.70.0080.00816.58
8.3.60.0110.00318.06
8.3.50.0090.01025.30
8.3.40.0150.00318.75
8.3.30.0140.00418.41
8.3.20.0000.00824.18
8.3.10.0050.00324.66
8.3.00.0050.00326.16
8.2.250.0090.00316.51
8.2.240.0130.00317.07
8.2.230.0040.00422.58
8.2.220.0080.00024.06
8.2.210.0090.00926.77
8.2.200.0080.00016.50
8.2.190.0110.01116.63
8.2.180.0080.00625.92
8.2.170.0170.00319.01
8.2.160.0100.00322.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0070.00020.70
8.2.110.0050.00521.18
8.2.100.0090.00317.78
8.2.90.0050.00318.05
8.2.80.0000.00918.79
8.2.70.0050.00517.25
8.2.60.0030.00517.38
8.2.50.0040.00418.05
8.2.40.0040.00418.09
8.2.30.0040.00417.99
8.2.20.0040.00417.93
8.2.10.0040.00419.11
8.2.00.0040.00419.21
8.1.300.0150.00019.53
8.1.290.0040.00418.88
8.1.280.0070.00725.92
8.1.270.0040.00421.92
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00720.80
8.1.230.0030.00720.97
8.1.220.0080.00018.45
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0000.00718.59
8.1.160.0000.00718.86
8.1.150.0000.00718.79
8.1.140.0000.00818.80
8.1.130.0030.00319.97
8.1.120.0000.00817.39
8.1.110.0090.00017.29
8.1.100.0040.00417.35
8.1.90.0080.00017.32
8.1.80.0100.00317.34
8.1.70.0000.00717.24
8.1.60.0050.00317.47
8.1.50.0030.00617.46
8.1.40.0040.00417.27
8.1.30.0050.00317.50
8.1.20.0000.00817.58
8.1.10.0040.00417.34
8.1.00.0030.00517.28
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0000.00718.33
8.0.270.0050.00317.95
8.0.260.0000.00718.36
8.0.250.0030.00316.84
8.0.240.0030.00316.90
8.0.230.0030.00316.86
8.0.220.0030.00316.81
8.0.210.0030.00616.79
8.0.200.0000.00716.77
8.0.190.0050.00316.79
8.0.180.0080.00016.80
8.0.170.0050.00316.69
8.0.160.0000.00716.87
8.0.150.0040.00416.74
8.0.140.0000.00816.64
8.0.130.0060.00013.24
8.0.120.0030.00516.73
8.0.110.0040.00416.73
8.0.100.0000.00816.59
8.0.90.0070.00016.81
8.0.80.0050.01016.74
8.0.70.0000.00716.72
8.0.60.0040.00416.88
8.0.50.0060.00316.78
8.0.30.0080.00816.73
8.0.20.0100.01116.88
8.0.10.0040.00416.96
8.0.00.0070.01116.46
7.4.330.0000.00515.55
7.4.320.0000.00616.35
7.4.300.0030.00316.50
7.4.290.0000.00716.33
7.4.280.0030.00416.56
7.4.270.0060.00316.48
7.4.260.0000.00513.16
7.4.250.0030.00316.25
7.4.240.0000.00716.44
7.4.230.0030.00316.61
7.4.220.0000.00716.41
7.4.210.0080.00816.55
7.4.200.0080.00016.55
7.4.130.0080.01116.31
7.4.120.0070.01016.34
7.4.110.0120.00616.51
7.4.100.0080.00916.31
7.4.90.0110.00615.91
7.4.80.0090.00916.36
7.4.70.0080.00916.25
7.4.60.0100.01016.30
7.4.50.0100.00716.02
7.4.40.0120.00815.95
7.4.30.0060.01116.28
7.4.20.0090.00715.97
7.4.10.0100.00616.19
7.4.00.0060.01116.39
7.3.330.0040.00416.04
7.3.320.0050.00013.00
7.3.310.0060.00016.21
7.3.300.0050.00216.08
7.3.290.0110.00516.11
7.3.280.0040.01216.07
7.3.260.0080.00915.96
7.3.230.0080.00816.36
7.3.210.0150.00416.25
7.3.200.0140.00416.30
7.3.190.0080.01115.96
7.3.180.0070.01016.30
7.3.170.0130.00516.04
7.3.160.0140.00616.05
7.3.150.0060.01315.96
7.3.140.0060.01015.96
7.3.130.0120.00516.04
7.3.120.0050.01115.81
7.3.110.0090.00815.91
7.3.100.0090.00716.20
7.3.90.0080.01015.94
7.3.80.0120.00716.10
7.3.70.0100.01016.05
7.3.60.0100.01015.95
7.3.50.0070.01316.10
7.3.40.0140.01116.00
7.3.30.0110.00516.04
7.3.20.0060.01216.12
7.3.10.0120.00916.35
7.3.00.0130.00716.05
7.2.330.0080.01016.33
7.2.320.0080.01116.40
7.2.310.0140.00516.08
7.2.300.0070.01416.13
7.2.290.0070.01415.95
7.2.280.0150.00216.10
7.2.270.0050.01216.20
7.2.260.0040.01515.97
7.2.250.0130.00616.09
7.2.240.0050.01216.04
7.2.230.0080.01016.02
7.2.220.0120.00516.05
7.2.210.0090.00916.05
7.2.200.0070.01016.16
7.2.190.0130.00816.10
7.2.180.0080.01316.10
7.2.170.0130.01115.97
7.2.160.0110.00716.21
7.2.150.0100.00816.06
7.2.140.0150.00416.18
7.2.130.0120.00816.38
7.2.120.0080.01316.39
7.2.110.0120.00916.24
7.2.100.0100.00816.23
7.2.90.0090.00916.34
7.2.80.0070.01216.34
7.2.70.0030.01516.38
7.2.60.0140.00816.46
7.2.50.0090.01116.35
7.2.40.0080.01016.46
7.2.30.0140.00716.40
7.2.20.0080.01316.37
7.2.10.0070.01316.13
7.2.00.0080.01016.15

preferences:
27.18 ms | 403 KiB | 5 Q