3v4l.org

run code in 300+ PHP versions simultaneously
<?php $originalParams = [ 'title' => 'Foo title', 'targeting' => [ 'countries' => 'US,GB', 'age_min' => 13, ], 'call_to_action' => [ 'type' => 'LEARN_MORE', 'value' => [ 'link' => 'http://example.com', 'link_title' => 'Foo Link', 'link_description' => 'Foo Description', 'sponsorship' => [ 'link' => 'http://example.com/foo', 'image' => 'http://example.com/bar.jpg', ], ], ], ]; echo http_build_query($originalParams);

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.0140.00718.55
8.3.50.0140.00522.11
8.3.40.0060.00918.48
8.3.30.0100.00319.05
8.3.20.0040.00420.33
8.3.10.0040.00421.89
8.3.00.0100.00719.21
8.2.180.0000.01516.50
8.2.170.0040.01122.96
8.2.160.0110.00722.27
8.2.150.0160.00024.18
8.2.140.0090.01224.66
8.2.130.0030.01026.16
8.2.120.0100.01019.77
8.2.110.0000.01119.27
8.2.100.0000.01118.03
8.2.90.0050.00319.21
8.2.80.0000.00817.97
8.2.70.0000.00817.93
8.2.60.0040.00417.93
8.2.50.0030.00618.10
8.2.40.0040.00419.47
8.2.30.0070.00019.44
8.2.20.0000.00817.79
8.2.10.0040.00417.95
8.2.00.0070.00017.68
8.1.280.0100.00725.92
8.1.270.0060.00318.88
8.1.260.0070.01126.35
8.1.250.0030.00528.09
8.1.240.0090.00022.61
8.1.230.0110.00022.13
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0050.00517.10
8.1.190.0050.00517.23
8.1.180.0050.00318.10
8.1.170.0040.00418.58
8.1.160.0040.00418.70
8.1.150.0040.00418.82
8.1.140.0040.00419.16
8.1.130.0070.00017.80
8.1.120.0000.00717.33
8.1.110.0040.00417.25
8.1.100.0000.00717.39
8.1.90.0000.00817.38
8.1.80.0000.00817.29
8.1.70.0030.00317.27
8.1.60.0040.00417.53
8.1.50.0040.00417.51
8.1.40.0080.00017.32
8.1.30.0050.00317.49
8.1.20.0030.00617.47
8.1.10.0000.00717.50
8.1.00.0000.00817.43
8.0.300.0000.00718.77
8.0.290.0080.00016.75
8.0.280.0070.00018.29
8.0.270.0080.00017.25
8.0.260.0030.00317.28
8.0.250.0030.00316.99
8.0.240.0030.00316.84
8.0.230.0030.00316.76
8.0.220.0000.00716.75
8.0.210.0030.00316.82
8.0.200.0030.00316.78
8.0.190.0000.00916.84
8.0.180.0000.00816.86
8.0.170.0040.00416.84
8.0.160.0070.00016.94
8.0.150.0050.00216.70
8.0.140.0000.00816.77
8.0.130.0030.00313.24
8.0.120.0040.00416.80
8.0.110.0040.00416.83
8.0.100.0070.00016.70
8.0.90.0000.00716.74
8.0.80.0100.01016.80
8.0.70.0040.00416.71
8.0.60.0000.00716.64
8.0.50.0000.00716.68
8.0.30.0110.01717.18
8.0.20.0120.00917.40
8.0.10.0000.00716.94
8.0.00.0050.01516.68
7.4.330.0000.00515.03
7.4.320.0000.00616.44
7.4.300.0040.00416.51
7.4.290.0000.00716.46
7.4.280.0050.00216.52
7.4.270.0040.00416.39
7.4.260.0000.00716.45
7.4.250.0040.00416.48
7.4.240.0050.00216.54
7.4.230.0000.00716.46
7.4.220.0040.01316.48
7.4.210.0030.01416.59
7.4.200.0030.00316.23
7.4.160.0050.01116.16
7.4.150.0070.01117.40
7.4.140.0080.01017.86
7.4.130.0130.00816.43
7.4.120.0100.00716.29
7.4.110.0000.02016.33
7.4.100.0060.01316.34
7.4.90.0130.01016.50
7.4.80.0080.01119.39
7.4.70.0060.01016.46
7.4.60.0040.01216.56
7.4.50.0040.00416.49
7.4.40.0110.00516.51
7.4.30.0130.00316.37
7.4.00.0130.00714.81
7.3.330.0000.00613.07
7.3.320.0000.00513.07
7.3.310.0000.00716.17
7.3.300.0070.00016.15
7.3.290.0070.00716.12
7.3.280.0060.01116.15
7.3.270.0090.01617.40
7.3.260.0180.00616.09
7.3.250.0120.00616.43
7.3.240.0100.00716.38
7.3.230.0110.01116.39
7.3.210.0100.00716.31
7.3.200.0060.00919.39
7.3.190.0080.00816.28
7.3.180.0090.00916.19
7.3.170.0170.00316.27
7.3.160.0060.00916.20
7.2.330.0140.00316.50
7.2.320.0060.01216.29
7.2.310.0150.00416.32
7.2.300.0070.01016.30
7.2.290.0040.01216.52
7.2.00.0000.01219.14
7.1.200.0000.01415.59
7.1.100.0030.01417.97
7.1.70.0000.00717.10
7.1.60.0100.00719.46
7.1.50.0130.00717.00
7.1.00.0000.08022.33
7.0.200.0000.01016.90
7.0.140.0030.05722.05
7.0.60.0030.04019.92
7.0.50.0070.04017.75
7.0.40.0070.07720.17
7.0.30.0230.07020.16
7.0.20.0170.04720.09
7.0.10.0130.03720.33
7.0.00.0070.04319.99
5.6.280.0030.07321.04
5.6.210.0070.08020.50
5.6.200.0100.05018.11
5.6.190.0070.04320.39
5.6.180.0270.08320.67
5.6.170.0370.07320.54
5.6.160.0070.08320.37
5.6.150.0070.03718.11
5.6.140.0000.09018.07
5.6.130.0100.07718.21
5.6.120.0070.07721.12
5.6.110.0070.08721.11
5.6.100.0000.05020.97
5.6.90.0100.07321.12
5.6.80.0230.07020.43
5.5.350.0070.08020.35
5.5.340.0070.07717.95
5.5.330.0070.08020.36
5.5.320.0330.03720.31
5.5.310.0200.06720.28
5.5.300.0100.03717.95
5.5.290.0070.05717.92
5.5.280.0030.07720.73
5.5.270.0030.07720.89
5.5.260.0000.09020.76
5.5.250.0070.04320.55
5.5.240.3030.03320.23
5.4.450.0530.06019.56
5.4.440.0500.06019.45
5.4.430.0130.05019.52
5.4.420.0130.06719.35
5.4.410.0230.04019.35
5.4.400.0070.05719.00
5.4.390.0130.05318.72
5.4.380.0170.05318.75
5.4.370.0170.05718.54
5.4.360.0100.06718.72
5.4.350.0230.06018.66
5.4.340.0200.05018.47
5.4.320.0230.06018.73
5.4.310.0230.04718.50
5.4.300.0030.06718.65
5.4.290.0130.05318.67
5.4.280.0070.06318.77
5.4.270.0270.05718.49
5.4.260.0100.06718.68
5.4.250.0270.07018.49
5.4.240.0170.07018.71
5.4.230.0130.06018.74
5.4.220.0230.05018.57
5.4.210.0130.05718.45
5.4.200.0200.05016.56
5.4.190.0200.05018.44
5.4.180.0300.04018.72
5.4.170.0130.06018.70
5.4.160.0200.04718.48
5.4.150.0200.05018.44
5.4.140.0200.04716.08
5.4.130.0170.05016.18
5.4.120.0130.05716.15
5.4.110.0230.04316.32
5.4.100.0070.06316.17
5.4.90.0170.05316.15
5.4.80.0170.05316.21
5.4.70.0170.05316.33
5.4.60.0100.06316.26
5.4.50.0200.05316.01
5.4.40.0100.05716.07
5.4.30.0170.05016.05
5.4.20.0130.07316.16
5.4.10.0230.06016.03
5.4.00.0230.05715.65
5.3.290.0270.06714.67
5.3.280.0170.06314.50
5.3.270.0270.05014.54
5.3.260.0270.06314.58
5.3.250.0170.07314.51
5.3.240.0230.07014.61
5.3.230.0170.07314.58
5.3.220.0200.05014.52
5.3.210.0270.05014.64
5.3.200.0100.06314.51
5.3.190.0230.05314.48
5.3.180.0170.05014.48
5.3.170.0200.05014.51
5.3.160.0100.05714.46
5.3.150.0200.05014.66
5.3.140.0230.05714.61
5.3.130.0170.06014.48
5.3.120.0130.06014.58
5.3.110.0300.04014.64
5.3.100.0170.05313.94
5.3.90.0270.04013.95
5.3.80.0200.04713.94
5.3.70.0130.05313.98
5.3.60.0200.05013.99
5.3.50.0200.05714.03
5.3.40.0170.05714.04
5.3.30.0270.03713.85
5.3.20.0130.05013.63
5.3.10.0200.04313.64
5.3.00.0170.05313.71
5.2.170.0130.04011.10
5.2.160.0170.04011.12
5.2.150.0230.05011.20
5.2.140.0230.05011.11
5.2.130.0170.05311.13
5.2.120.0070.06311.16
5.2.110.0200.05011.09
5.2.100.0030.06711.25
5.2.90.0200.03711.02
5.2.80.0200.04711.13
5.2.70.0070.05011.05
5.2.60.0100.04711.02
5.2.50.0200.03310.98
5.2.40.0130.04010.95
5.2.30.0100.05711.01
5.2.20.0200.04011.00
5.2.10.0130.03710.89
5.2.00.0000.05010.74
5.1.60.0100.03310.01
5.1.50.0100.0339.99
5.1.40.0200.0279.95
5.1.30.0130.03710.45
5.1.20.0070.04010.38
5.1.10.0100.03710.14
5.1.00.0130.03310.19
5.0.50.0170.0238.59
5.0.40.0070.0308.46
5.0.30.0000.0508.34
5.0.20.0030.0308.21
5.0.10.0070.0278.34
5.0.00.0130.0378.17
4.4.90.0100.0275.90
4.4.80.0100.0275.89
4.4.70.0100.0235.91
4.4.60.0130.0235.86
4.4.50.0070.0275.89
4.4.40.0070.0435.89
4.4.30.0100.0275.90
4.4.20.0070.0205.96
4.4.10.0130.0205.97
4.4.00.0070.0375.91
4.3.110.0000.0275.79
4.3.100.0070.0305.82
4.3.90.0070.0275.84
4.3.80.0100.0405.79
4.3.70.0100.0235.86
4.3.60.0030.0235.78
4.3.50.0100.0205.78
4.3.40.0100.0305.80
4.3.30.0000.0274.76
4.3.20.0030.0234.76
4.3.10.0070.0204.76
4.3.00.0070.02312.52

preferences:
45.14 ms | 401 KiB | 5 Q