3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( array( 'notification'=> 'desktop', 'type'=> 'in_cost', 'limit'=> 30, ), array( 'notification'=> 'email_default', 'type'=> 'in_percent', 'limit'=> 50, ), array( 'notification'=> 'email_alternative', 'type'=> 'out_percent', 'limit'=> 80, ), ); print '<pre>'.var_dump($array).'</pre>'; $serialided = http_build_query($array); print $serialided;

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.0110.01116.63
8.3.50.0130.00722.06
8.3.40.0070.00718.71
8.3.30.0070.00718.59
8.3.20.0040.00420.16
8.3.10.0030.00623.54
8.3.00.0030.00619.25
8.2.180.0110.00716.63
8.2.170.0040.01122.96
8.2.160.0180.00022.18
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0040.00417.75
8.2.110.0030.00620.89
8.2.100.0110.00017.47
8.2.90.0030.00517.72
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0040.00419.16
8.2.30.0000.00720.52
8.2.20.0080.00017.73
8.2.10.0050.00218.14
8.2.00.0040.00418.05
8.1.280.0120.00925.92
8.1.270.0050.00323.87
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0140.00322.52
8.1.230.0040.00820.89
8.1.220.0040.00417.74
8.1.210.0030.00518.79
8.1.200.0000.00817.23
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0060.00318.94
8.1.160.0000.00722.00
8.1.150.0000.00718.75
8.1.140.0000.00819.61
8.1.130.0000.00717.73
8.1.120.0040.00417.39
8.1.110.0080.00017.50
8.1.100.0000.00717.38
8.1.90.0070.00017.31
8.1.80.0080.00017.48
8.1.70.0030.00317.48
8.1.60.0040.00417.46
8.1.50.0000.00817.57
8.1.40.0060.00317.44
8.1.30.0030.00517.65
8.1.20.0080.00017.51
8.1.10.0000.00717.50
8.1.00.0040.00417.50
8.0.300.0000.00819.81
8.0.290.0030.00516.75
8.0.280.0080.00018.55
8.0.270.0030.00317.21
8.0.260.0030.00317.27
8.0.250.0040.00417.02
8.0.240.0040.00417.01
8.0.230.0000.00716.98
8.0.220.0070.00016.86
8.0.210.0030.00316.88
8.0.200.0050.00316.84
8.0.190.0000.00816.95
8.0.180.0000.00816.83
8.0.170.0080.00016.89
8.0.160.0080.00016.87
8.0.150.0000.00716.87
8.0.140.0070.00016.73
8.0.130.0000.00513.29
8.0.120.0000.00816.88
8.0.110.0040.00416.89
8.0.100.0030.00516.77
8.0.90.0000.00816.68
8.0.80.0080.00716.77
8.0.70.0040.00416.80
8.0.60.0060.00316.69
8.0.50.0000.00716.60
8.0.30.0130.00616.96
8.0.20.0110.00817.40
8.0.10.0000.00717.01
8.0.00.0100.00816.78
7.4.330.0000.00515.08
7.4.320.0030.00316.60
7.4.300.0030.00316.48
7.4.290.0040.00416.43
7.4.280.0000.00716.52
7.4.270.0030.00316.45
7.4.260.0030.00316.42
7.4.250.0000.00716.51
7.4.240.0040.00316.54
7.4.230.0070.00016.32
7.4.220.0140.01016.52
7.4.210.0060.00916.40
7.4.200.0030.00316.42
7.4.160.0000.01616.63
7.4.150.0110.00717.40
7.4.140.0150.00517.86
7.4.130.0100.01416.59
7.4.120.0090.00916.53
7.4.110.0130.01016.23
7.4.100.0060.01716.52
7.4.90.0060.00916.41
7.4.80.0170.00319.39
7.4.70.0100.01016.41
7.4.60.0060.01016.53
7.4.50.0040.00416.32
7.4.40.0100.01016.36
7.4.30.0000.01616.44
7.4.00.0100.00614.78
7.3.330.0050.00013.20
7.3.320.0050.00013.11
7.3.310.0030.00316.34
7.3.300.0000.00616.16
7.3.290.0100.00616.20
7.3.280.0070.00816.26
7.3.270.0150.00317.40
7.3.260.0070.01116.73
7.3.240.0130.01116.58
7.3.230.0160.00616.39
7.3.210.0140.00316.57
7.3.200.0030.01616.46
7.3.190.0100.00716.30
7.3.180.0100.00716.51
7.3.170.0130.00916.52
7.3.160.0150.00716.49
7.3.120.0100.00615.82
7.3.110.0090.00715.99
7.3.100.0030.01115.90
7.3.90.0090.00815.93
7.3.80.0050.01015.94
7.3.70.0050.01015.99
7.3.60.0080.01015.93
7.3.50.0050.00916.00
7.3.40.0070.00815.90
7.3.30.0030.01015.91
7.3.20.0120.00316.81
7.3.10.0040.01016.71
7.3.00.0080.00216.81
7.2.330.0160.00316.73
7.2.320.0030.02016.70
7.2.310.0120.00616.63
7.2.300.0100.01316.59
7.2.290.0120.00616.59
7.2.250.0090.00915.19
7.2.240.0050.01115.86
7.2.230.0120.00115.98
7.2.220.0050.01416.13
7.2.210.0050.00915.95
7.2.200.0060.01016.06
7.2.190.0100.00816.09
7.2.180.0030.01116.12
7.2.170.0030.01016.14
7.2.160.0040.01117.15
7.2.150.0000.01817.15
7.2.140.0070.01017.15
7.2.130.0060.00917.15
7.2.120.0060.00617.15
7.2.110.0100.00717.15
7.2.100.0070.01117.15
7.2.90.0040.00717.15
7.2.80.0120.00317.15
7.2.70.0060.00617.15
7.2.60.0050.00717.01
7.2.50.0100.00617.15
7.2.40.0080.00817.15
7.2.30.0000.00817.15
7.2.20.0030.01017.15
7.2.10.0030.00717.15
7.2.00.0100.00317.15
7.1.330.0030.01216.47
7.1.320.0000.01416.38
7.1.310.0070.00916.40
7.1.300.0020.01316.40
7.1.290.0070.00516.46
7.1.280.0050.00916.41
7.1.270.0030.01116.24
7.1.260.0030.01116.41
7.1.250.0070.00717.15
7.1.200.0030.01015.94
7.1.70.0000.00817.16
7.1.60.0150.00919.43
7.1.50.0140.01016.91
7.1.00.0070.07022.45
7.0.200.0090.00314.75
7.0.60.0100.04719.84
7.0.50.0000.07017.80
7.0.40.0030.06020.40
7.0.30.0270.06020.12
7.0.20.0330.05320.18
7.0.10.0070.09020.17
7.0.00.0100.03720.19
5.6.280.0000.07021.12
5.6.210.0100.06720.75
5.6.200.0070.08318.19
5.6.190.0100.07720.77
5.6.180.0370.04720.60
5.6.170.0200.06020.52
5.6.160.0030.08020.71
5.6.150.0270.03018.07
5.6.140.0130.05718.21
5.6.130.0070.08018.12
5.6.120.0170.06721.02
5.6.110.0070.07020.98
5.6.100.0070.05721.04
5.6.90.0070.08721.00
5.6.80.0230.06720.50
5.5.350.0270.06720.42
5.5.340.0100.07717.91
5.5.330.0130.07320.46
5.5.320.0330.05020.20
5.5.310.0130.04320.20
5.5.300.0070.08017.94
5.5.290.0100.07017.92
5.5.280.0100.08320.95
5.5.270.0100.05020.84
5.5.260.0130.07320.86
5.5.250.0000.07020.79
5.5.240.0070.03020.04
5.4.450.0630.06319.48
5.4.440.0470.06319.45
5.4.430.0630.05019.13
5.4.420.0430.07719.57
5.4.410.0300.08319.11
5.4.400.0730.04719.28
5.4.390.0400.07319.13
5.4.380.0500.06019.25
5.4.370.0670.05318.80
5.4.360.0530.07318.95
5.4.350.0530.06319.12
5.4.340.0530.06019.12
5.4.320.0600.06718.99
5.4.310.0600.05019.09
5.4.300.0400.06719.14
5.4.290.0800.06319.14
5.4.280.0570.07319.20
5.4.270.0630.07318.94
5.4.260.0570.06019.14
5.4.250.0570.07018.91
5.4.240.0600.05019.21
5.4.230.0600.05018.79
5.4.220.0600.07018.77
5.4.210.0530.06018.96
5.4.200.0530.06319.15
5.4.190.0630.06319.27
5.4.180.0830.06319.16
5.4.170.0600.06019.13
5.4.160.0600.05718.89
5.4.150.0430.08019.09
5.4.140.0470.06716.51
5.4.130.0570.05316.43
5.4.120.0530.05716.32
5.4.110.0500.05716.18
5.4.100.0570.04716.50
5.4.90.0600.05316.37
5.4.80.0430.06016.48
5.4.70.0700.05716.54
5.4.60.0730.06016.09
5.4.50.0700.05316.53
5.4.40.0300.05716.30
5.4.30.0430.07316.43
5.4.20.0600.05316.36
5.4.10.0500.06716.51
5.4.00.0630.05715.77

preferences:
33.51 ms | 401 KiB | 5 Q