3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $a1=array("flagname"=>"LTV Under 50","b"=>"green"); $a2=array("flagname"=>"blue","b"=>"yellow"); print_r(array_replace_recursive((array)$a1,(array)$a2)); ?> </body> </html>

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.0000.01518.30
8.3.50.0110.01021.93
8.3.40.0120.00318.52
8.3.30.0100.01018.96
8.3.20.0070.00020.12
8.3.10.0060.00323.43
8.3.00.0050.00319.13
8.2.180.0040.01418.54
8.2.170.0070.00722.96
8.2.160.0090.00620.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00320.85
8.2.110.0060.00322.27
8.2.100.0090.00317.84
8.2.90.0070.00319.23
8.2.80.0000.00817.97
8.2.70.0040.00717.63
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0000.00819.95
8.2.30.0020.00518.09
8.2.20.0040.00417.51
8.2.10.0040.00418.09
8.2.00.0000.00717.48
8.1.280.0110.00325.92
8.1.270.0000.00823.99
8.1.260.0070.00726.35
8.1.250.0070.00028.09
8.1.240.0070.00323.76
8.1.230.0080.00319.07
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0040.00417.35
8.1.180.0000.00919.01
8.1.170.0060.00318.43
8.1.160.0070.00021.87
8.1.150.0050.00318.50
8.1.140.0000.00717.38
8.1.130.0030.00317.80
8.1.120.0040.00417.41
8.1.110.0040.00417.36
8.1.100.0000.00717.43
8.1.90.0040.00417.35
8.1.80.0040.00417.30
8.1.70.0030.00317.45
8.1.60.0030.00517.46
8.1.50.0000.00817.50
8.1.40.0050.00217.40
8.1.30.0000.00817.64
8.1.20.0080.00017.66
8.1.10.0000.00717.50
8.1.00.0040.00417.50
8.0.300.0070.00018.77
8.0.290.0000.00717.16
8.0.280.0030.00318.33
8.0.270.0070.00017.22
8.0.260.0030.00317.24
8.0.250.0000.00716.84
8.0.240.0030.00616.76
8.0.230.0040.00416.79
8.0.220.0030.00316.80
8.0.210.0030.00316.70
8.0.200.0070.00016.75
8.0.190.0040.00416.83
8.0.180.0000.00716.74
8.0.170.0040.00416.89
8.0.160.0070.00016.83
8.0.150.0000.00916.74
8.0.140.0050.00216.67
8.0.130.0060.00013.24
8.0.120.0040.00416.66
8.0.110.0000.00716.81
8.0.100.0000.01016.66
8.0.90.0000.00716.81
8.0.80.0090.00616.79
8.0.70.0040.00416.66
8.0.60.0040.00416.70
8.0.50.0040.00416.83
8.0.30.0140.00717.12
8.0.20.0110.01117.40
8.0.10.0040.00416.80
8.0.00.0080.01016.83
7.4.330.0020.00215.09
7.4.320.0030.00316.49
7.4.300.0000.00616.50
7.4.290.0040.00416.61
7.4.280.0030.00516.58
7.4.270.0000.00816.57
7.4.260.0030.00316.39
7.4.250.0040.00416.43
7.4.240.0030.00516.41
7.4.230.0000.00716.32
7.4.220.0070.01216.56
7.4.210.0100.00716.55
7.4.200.0040.00416.51
7.4.190.0030.00516.75
7.4.160.0130.01016.55
7.4.150.0120.00617.40
7.4.140.0130.00817.86
7.4.130.0050.01216.50
7.4.120.0050.01316.44
7.4.110.0060.01516.34
7.4.100.0120.00916.60
7.4.90.0030.01316.41
7.4.80.0140.00719.39
7.4.70.0090.00616.55
7.4.60.0060.01216.52
7.4.50.0030.00516.29
7.4.40.0130.00316.38
7.4.30.0120.00916.64
7.4.00.0120.00214.88
7.3.330.0050.00013.17
7.3.320.0050.00013.02
7.3.310.0070.00016.23
7.3.300.0040.00416.08
7.3.290.0090.00916.22
7.3.280.0100.00616.22
7.3.270.0140.00717.40
7.3.260.0230.01316.27
7.3.250.0130.00616.21
7.3.240.0190.00316.35
7.3.230.0130.00316.39
7.3.210.0090.00816.08
7.3.200.0080.00819.39
7.3.190.0090.00916.20
7.3.180.0150.00616.46
7.3.170.0070.01016.45
7.3.160.0120.00316.46
7.3.120.0070.01014.82
7.3.110.0100.00614.65
7.3.100.0060.00614.53
7.3.90.0060.00314.73
7.3.80.0070.00414.62
7.3.70.0030.01414.82
7.3.60.0100.00314.84
7.3.50.0070.00714.68
7.3.40.0030.01214.70
7.3.30.0000.01314.88
7.3.20.0100.00316.68
7.3.10.0040.01116.62
7.3.00.0030.01016.43
7.2.330.0110.00516.40
7.2.320.0030.01416.57
7.2.310.0070.01316.31
7.2.300.0140.00716.57
7.2.290.0030.01316.59
7.2.250.0090.00914.71
7.2.240.0070.01314.75
7.2.230.0070.01115.05
7.2.220.0030.00714.80
7.2.210.0150.00014.60
7.2.200.0100.00614.75
7.2.190.0040.01114.96
7.2.180.0060.00914.80
7.2.170.0070.01114.95
7.2.80.0200.00616.73
7.2.60.0110.00416.56
7.2.00.0040.01219.36
7.1.330.0120.00315.89
7.1.320.0060.00615.37
7.1.310.0040.01215.74
7.1.300.0000.00915.79
7.1.290.0070.01015.39
7.1.280.0070.00715.83
7.1.270.0090.00315.70
7.1.260.0030.01015.71
7.1.200.0070.00715.77
7.1.100.0030.01017.85
7.1.70.0050.00316.79
7.1.60.0090.01519.46
7.1.50.0190.01534.73
7.1.00.0100.07022.45
7.0.200.0000.00716.88
7.0.140.0030.07022.09
7.0.60.0070.05719.89
7.0.50.0070.08017.77
7.0.40.0030.08020.20
7.0.30.1970.04320.18
7.0.20.0270.05720.09
7.0.10.0130.06720.08
7.0.00.0070.09020.34
5.6.280.0030.07320.86
5.6.210.0030.04320.47
5.6.200.0130.07318.22
5.6.190.0070.07720.61
5.6.180.0330.07720.48
5.6.170.0200.04020.41
5.6.160.0100.08320.44
5.6.150.0030.04718.18
5.6.140.0030.03718.17
5.6.130.0100.08318.21
5.6.120.0100.05021.14
5.6.110.0000.04721.04
5.6.100.0200.07020.96
5.6.90.0070.08720.89
5.6.80.0130.05020.37
5.5.350.0270.06720.36
5.5.340.0070.08317.96
5.5.330.0100.05720.56
5.5.320.0170.06020.50
5.5.310.0270.05720.29
5.5.300.0100.07717.98
5.5.290.0100.03318.00
5.5.280.0070.08320.89
5.5.270.0070.07320.75
5.5.260.0100.06020.86
5.5.250.0130.07720.68
5.5.240.0000.04320.27
5.4.450.0270.04019.46
5.4.440.0230.04019.41
5.4.430.0800.06019.47
5.4.420.0670.06319.64
5.4.410.0500.05719.37
5.4.400.0830.05018.90
5.4.390.0870.04319.12
5.4.380.0130.05318.70
5.4.370.0100.05318.73
5.4.360.0130.05318.70
5.4.350.0200.07318.52
5.4.340.0130.07718.49
5.4.320.0080.03712.45
5.4.310.0090.03612.45
5.4.300.0050.03812.45
5.4.290.0130.06112.45
5.4.280.0100.05112.35
5.4.270.0080.06412.34
5.4.260.0160.07812.35
5.4.250.0070.06612.35
5.4.240.0100.06212.34
5.4.230.0130.06012.34
5.4.220.0090.07912.34
5.4.210.0070.07212.34
5.4.200.0150.07412.34
5.4.190.0200.06512.33
5.4.180.0070.07312.34
5.4.170.0230.10812.35
5.4.160.0120.07912.34
5.4.150.0190.06512.34
5.4.140.0150.08012.02
5.4.130.0160.07412.01
5.4.120.0120.06211.97
5.4.110.0060.04611.96
5.4.100.0040.05911.97
5.4.90.0070.03911.97
5.4.80.0060.04011.96
5.4.70.0090.03511.96
5.4.60.0060.03911.96
5.4.50.0090.04711.96
5.4.40.0100.04111.95
5.4.30.0050.03811.95
5.4.20.0060.04911.95
5.4.10.0180.11711.95
5.4.00.0160.05511.43
5.3.290.0060.04112.80
5.3.280.0090.08212.71
5.3.270.0160.09512.72
5.3.260.0100.05212.72
5.3.250.0160.05512.72
5.3.240.0100.05112.72
5.3.230.0050.05412.71
5.3.220.0050.06912.68
5.3.210.0190.06212.68
5.3.200.0080.06012.68
5.3.190.0120.06812.68
5.3.180.0130.06512.67
5.3.170.0180.07812.67
5.3.160.0090.06312.68
5.3.150.0070.05912.67
5.3.140.0090.05512.66
5.3.130.0060.06012.66
5.3.120.0100.06112.65
5.3.110.0120.06712.66
5.3.100.0100.06212.12
5.3.90.0110.06212.08
5.3.80.0160.06412.07
5.3.70.0100.08112.07
5.3.60.0190.06912.07
5.3.50.0060.06312.00
5.3.40.0060.05012.00
5.3.30.0110.06111.94
5.3.20.0080.05611.72
5.3.10.0180.05211.69
5.3.00.0040.05211.68
5.2.170.0070.0419.18
5.2.160.0060.0289.18
5.2.150.0080.0359.18
5.2.140.0140.0599.18
5.2.130.0040.0459.14
5.2.120.0070.0419.14
5.2.110.0080.0499.15
5.2.100.0080.0619.14
5.2.90.0080.0409.14
5.2.80.0060.0439.14
5.2.70.0080.0489.14
5.2.60.0070.0419.09
5.2.50.0080.0429.06
5.2.40.0100.0589.04
5.2.30.0110.0959.01
5.2.20.0230.1119.00
5.2.10.0040.0408.92
5.2.00.0080.0408.78
5.1.60.0060.0418.07
5.1.50.0050.0428.06
5.1.40.0060.0428.04
5.1.30.0090.0348.39
5.1.20.0060.0398.41
5.1.10.0080.0688.14
5.1.00.0100.0438.14
5.0.50.0060.0276.62
5.0.40.0050.0286.48
5.0.30.0040.0446.29
5.0.20.0030.0266.27
5.0.10.0050.0276.24
5.0.00.0040.0396.23
4.4.90.0020.0424.78
4.4.80.0070.0264.75
4.4.70.0020.0224.75
4.4.60.0100.0544.75
4.4.50.0050.0254.77
4.4.40.0030.0284.71
4.4.30.0060.0134.76
4.4.20.0090.0544.85
4.4.10.0030.0174.85
4.4.00.0030.0314.76
4.3.110.0060.0234.67
4.3.100.0030.0204.66
4.3.90.0050.0234.63
4.3.80.0030.0334.58
4.3.70.0060.0194.63
4.3.60.0080.0264.63
4.3.50.0020.0194.63
4.3.40.0050.0284.54
4.3.30.0060.0423.28
4.3.20.0050.0163.26
4.3.10.0030.0173.22
4.3.00.0000.02012.57

preferences:
41.41 ms | 401 KiB | 5 Q