3v4l.org

run code in 300+ PHP versions simultaneously
<?php $products = array('horloges', 'media', 'gereedschap'); echo'<pre>';print_r($products); // convert to a string $string = json_encode($products); echo $string; // ["horloges","media","gereedschap"] // you can reproduce the original variable $products = json_decode($string); echo'<pre>';print_r($products);

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.0070.01118.20
8.3.50.0110.00821.27
8.3.40.0080.00818.83
8.3.30.0140.00720.02
8.3.20.0000.00820.31
8.3.10.0000.00821.11
8.3.00.0040.00422.39
8.2.180.0030.01216.63
8.2.170.0100.01022.96
8.2.160.0120.00322.02
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0080.00020.81
8.2.110.0100.01419.45
8.2.100.0090.00317.72
8.2.90.0000.00819.17
8.2.80.0080.00017.97
8.2.70.0040.00417.74
8.2.60.0030.00617.92
8.2.50.0000.00818.07
8.2.40.0080.00018.21
8.2.30.0000.00719.52
8.2.20.0030.00517.72
8.2.10.0030.00517.63
8.2.00.0040.00417.81
8.1.280.0070.01125.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0040.00421.25
8.1.230.0000.01217.42
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0100.00017.35
8.1.190.0040.00417.23
8.1.180.0090.00018.10
8.1.170.0030.00518.27
8.1.160.0030.00518.80
8.1.150.0070.00018.59
8.1.140.0040.00417.39
8.1.130.0040.00417.77
8.1.120.0000.00717.39
8.1.110.0000.00717.33
8.1.100.0000.00717.38
8.1.90.0030.00317.29
8.1.80.0040.00417.42
8.1.70.0030.00317.36
8.1.60.0060.00317.55
8.1.50.0070.00017.51
8.1.40.0040.00417.44
8.1.30.0050.00217.57
8.1.20.0060.00317.57
8.1.10.0000.00717.54
8.1.00.0040.00417.38
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0040.00418.49
8.0.270.0000.00717.11
8.0.260.0030.00516.84
8.0.250.0030.00316.86
8.0.240.0030.00516.95
8.0.230.0070.00016.80
8.0.220.0060.00016.81
8.0.210.0070.00016.83
8.0.200.0030.00316.93
8.0.190.0040.00416.88
8.0.180.0040.00416.75
8.0.170.0000.00816.84
8.0.160.0040.00416.69
8.0.150.0040.00416.76
8.0.140.0070.00416.86
8.0.130.0050.00013.22
8.0.120.0070.00016.76
8.0.110.0030.00616.86
8.0.100.0040.00416.86
8.0.90.0070.00016.71
8.0.80.0060.01316.81
8.0.70.0000.00716.90
8.0.60.0040.00416.68
8.0.50.0000.00716.66
8.0.30.0130.00517.11
8.0.20.0150.00517.40
8.0.10.0000.00717.02
8.0.00.0110.00716.80
7.4.330.0030.00315.00
7.4.320.0030.00316.43
7.4.300.0030.00316.44
7.4.290.0000.00716.45
7.4.280.0050.00316.57
7.4.270.0030.00316.55
7.4.260.0030.00313.21
7.4.250.0040.00416.42
7.4.240.0030.00416.46
7.4.230.0000.00716.57
7.4.220.0090.01016.52
7.4.210.0080.00716.46
7.4.200.0040.00416.43
7.4.190.0070.00016.63
7.4.160.0030.01316.61
7.4.150.0100.00717.40
7.4.140.0180.00017.86
7.4.130.0070.01016.37
7.4.120.0080.00916.45
7.4.110.0000.01616.41
7.4.100.0090.00916.38
7.4.90.0090.01316.31
7.4.80.0060.01019.39
7.4.70.0030.01516.52
7.4.60.0170.00316.56
7.4.50.0030.00616.29
7.4.40.0030.00722.77
7.4.30.0130.00416.29
7.4.10.0070.01314.68
7.4.00.0050.01115.02
7.3.330.0000.00512.98
7.3.320.0000.00513.11
7.3.310.0050.00216.16
7.3.300.0000.00716.18
7.3.290.0040.01016.25
7.3.280.0100.00716.22
7.3.270.0060.01017.40
7.3.260.0200.00318.24
7.3.250.0120.00816.33
7.3.240.0070.01416.15
7.3.230.0100.00716.39
7.3.210.0130.00316.29
7.3.200.0150.00319.39
7.3.190.0040.01216.26
7.3.180.0130.00316.17
7.3.170.0080.00816.27
7.3.160.0100.01216.25
7.3.130.0100.01014.75
7.3.120.0050.01214.68
7.3.110.0110.00814.49
7.3.100.0000.01414.94
7.3.90.0080.00814.55
7.3.80.0100.00314.80
7.3.70.0090.00314.46
7.3.60.0110.00414.78
7.3.50.0110.00714.82
7.3.40.0030.00614.73
7.3.30.0070.00714.59
7.3.20.0060.00616.66
7.3.10.0040.00716.41
7.3.00.0070.00716.50
7.2.330.0060.01116.40
7.2.320.0040.01816.56
7.2.310.0130.00316.50
7.2.300.0070.01416.56
7.2.290.0150.00916.57
7.2.260.0040.01415.09
7.2.250.0110.00314.89
7.2.240.0090.00614.60
7.2.230.0070.01414.79
7.2.220.0030.00915.09
7.2.210.0070.00714.78
7.2.200.0070.00715.02
7.2.190.0070.01015.08
7.2.180.0090.00914.85
7.2.170.0000.01414.77
7.2.160.0060.00914.89
7.2.150.0110.00317.02
7.2.140.0080.00416.81
7.2.130.0130.00616.69
7.2.120.0080.00416.86
7.2.110.0070.00716.99
7.2.100.0090.00616.82
7.2.90.0030.01016.96
7.2.80.0090.00617.02
7.2.70.0070.00716.66
7.2.60.0020.00916.71
7.2.50.0090.00316.95
7.2.40.0030.01016.84
7.2.30.0000.01516.84
7.2.20.0130.00716.91
7.2.10.0090.00316.66
7.2.00.0090.00616.74
7.1.330.0090.00315.86
7.1.320.0100.00715.92
7.1.310.0060.00615.65
7.1.300.0110.00715.82
7.1.290.0060.01216.02
7.1.280.0070.00715.73
7.1.270.0000.01415.94
7.1.260.0040.00815.77
7.1.250.0130.00315.54
7.1.240.0040.01115.75
7.1.230.0040.00815.82
7.1.220.0040.01415.77
7.1.210.0060.00615.73
7.1.200.0070.00515.73
7.1.190.0000.01415.90
7.1.180.0080.00315.40
7.1.170.0030.01015.83
7.1.160.0040.00815.80
7.1.150.0100.00715.49
7.1.140.0030.01015.54
7.1.130.0060.00615.71
7.1.120.0100.00315.72
7.1.110.0030.01015.88
7.1.100.0080.00815.51
7.1.90.0120.00315.94
7.1.80.0030.01015.93
7.1.70.0000.01116.38
7.1.60.0070.01417.46
7.1.50.0070.01116.41
7.1.40.0040.01115.95
7.1.30.0070.01115.85
7.1.20.0040.01515.70
7.1.10.0000.01415.88
7.1.00.0070.02319.04
7.0.330.0130.00315.52
7.0.320.0060.01015.34
7.0.310.0060.00915.36
7.0.300.0040.00815.20
7.0.290.0070.00715.49
7.0.280.0070.00715.36
7.0.270.0100.00315.24
7.0.260.0070.00715.36
7.0.250.0030.01115.36
7.0.240.0000.01415.42
7.0.230.0040.01115.18
7.0.220.0080.00815.28
7.0.210.0060.00915.46
7.0.200.0070.00515.13
7.0.190.0070.00715.48
7.0.180.0120.00315.42
7.0.170.0120.00315.24
7.0.160.0040.01115.66
7.0.150.0040.01115.09
7.0.140.0070.03218.72
7.0.130.0030.01015.08
7.0.120.0070.00715.29
7.0.110.0000.01415.53
7.0.100.0060.01315.22
7.0.90.0250.05117.76
7.0.80.0270.04417.62
7.0.70.0370.04417.64
7.0.60.0310.03817.66
7.0.50.0250.03717.90
7.0.40.0090.04316.64
7.0.30.0050.03116.72
7.0.20.0080.04516.67
7.0.10.0080.04616.61
7.0.00.0060.04616.62
5.6.400.0120.00414.29
5.6.390.0060.01214.49
5.6.380.0080.00814.39
5.6.370.0000.01314.59
5.6.360.0030.01414.62
5.6.350.0030.00614.14
5.6.340.0070.01114.44
5.6.330.0060.00914.65
5.6.320.0030.01014.16
5.6.310.0040.00814.04
5.6.300.0060.00914.45
5.6.290.0070.00714.54
5.6.280.0080.04017.68
5.6.270.0030.01314.20
5.6.260.0060.01314.15
5.6.250.0070.01013.96
5.6.240.0100.02817.44
5.6.230.0060.04117.38
5.6.220.0070.03517.38
5.6.210.0040.03317.49
5.6.200.0080.04417.70
5.6.190.0060.04817.56
5.6.180.0020.04917.60
5.6.170.0100.03717.55
5.6.160.0120.04017.82
5.6.150.0090.04417.63
5.6.140.0080.04717.67
5.6.130.0080.04317.84
5.6.120.0070.04717.71
5.6.110.0080.04117.73
5.6.100.0030.02917.73
5.6.90.0090.02717.65
5.6.80.0100.03317.20
5.6.70.0050.02617.34
5.6.60.0100.04017.41
5.6.50.0140.03717.36
5.6.40.0060.04317.13
5.6.30.0020.03517.22
5.6.20.0070.04217.25
5.6.10.0070.02917.22
5.6.00.0100.04017.34
5.5.380.0090.04017.28
5.5.370.0070.03817.37
5.5.360.0070.02917.27
5.5.350.0050.02717.11
5.5.340.0100.03317.66
5.5.330.0050.03517.35
5.5.320.0030.03817.54
5.5.310.0020.03417.42
5.5.300.0120.03217.41
5.5.290.0120.03317.48
5.5.280.0050.05117.62
5.5.270.0050.02717.50
5.5.260.0050.04217.42
5.5.250.0100.04117.28
5.5.240.0050.04917.05
5.5.230.0100.03917.06
5.5.220.0050.02517.22
5.5.210.0050.03517.18
5.5.200.0120.03017.23
5.5.190.0090.04217.00
5.5.180.0060.04317.24
5.5.170.0040.01114.29
5.5.160.0050.02917.08
5.5.150.0070.03116.97
5.5.140.0080.04217.19
5.5.130.0030.03117.17
5.5.120.0110.02517.21
5.5.110.0100.03917.11
5.5.100.0090.02216.98
5.5.90.0030.04717.16
5.5.80.0120.03017.17
5.5.70.0050.04517.04
5.5.60.0110.02316.96
5.5.50.0080.03017.17
5.5.40.0050.02517.19
5.5.30.0110.02917.15
5.5.20.0020.04816.97
5.5.10.0070.03216.87
5.5.00.0070.02517.01
5.4.450.0050.03516.11
5.4.440.0020.02716.08
5.4.430.0090.04316.09
5.4.420.0150.03516.04
5.4.410.0060.04115.97
5.4.400.0030.03515.92
5.4.390.0060.02815.78
5.4.380.0030.02615.93
5.4.370.0050.03315.87
5.4.360.0080.03515.78
5.4.350.0050.03315.91
5.4.340.0070.04015.92
5.4.330.0000.01012.71
5.4.320.0100.04215.91
5.4.310.0030.03215.79
5.4.300.0050.02915.87
5.4.290.0080.04015.77
5.4.280.0100.03515.91
5.4.270.0000.04615.87
5.4.260.0030.04015.92
5.4.250.0130.03615.80
5.4.240.0030.04615.87
5.4.230.0030.03515.87
5.4.220.0050.03515.87
5.4.210.0040.02915.94
5.4.200.0060.03115.94
5.4.190.0030.02215.87
5.4.180.0030.04615.91
5.4.170.0110.02215.87
5.4.160.0080.03815.88
5.4.150.0000.04015.92
5.4.140.0050.04014.42
5.4.130.0090.02014.54
5.4.120.0080.02814.45
5.4.110.0110.03514.61
5.4.100.0070.04214.57
5.4.90.0030.02814.57
5.4.80.0100.03014.52
5.4.70.0100.01814.48
5.4.60.0060.04214.58
5.4.50.0020.04214.53
5.4.40.0050.03814.62
5.4.30.0040.03414.58
5.4.20.0110.03514.58
5.4.10.0050.02714.57
5.4.00.0040.04414.14
5.3.290.0070.03713.67
5.3.280.0020.03413.66
5.3.270.0070.04013.71
5.3.260.0100.03313.63
5.3.250.0080.02413.68
5.3.240.0030.03313.71
5.3.230.0070.04113.63
5.3.220.0030.03913.69
5.3.210.0030.04213.60
5.3.200.0080.03613.66
5.3.190.0050.03313.64
5.3.180.0020.03113.63
5.3.170.0020.04813.70
5.3.160.0030.03013.59
5.3.150.0060.04013.62
5.3.140.0040.02613.66
5.3.130.0030.02313.59
5.3.120.0070.04013.60
5.3.110.0080.02813.63
5.3.100.0050.03513.42
5.3.90.0060.02913.43
5.3.80.0120.02513.35
5.3.70.0070.02813.31
5.3.60.0000.04313.40
5.3.50.0080.03713.27
5.3.40.0070.02213.35
5.3.30.0030.04313.31
5.3.20.0080.03313.20
5.3.10.0020.04113.18
5.3.00.0080.03513.21
5.2.170.0030.04311.04
5.2.160.0000.07011.25
5.2.150.0030.06311.15
5.2.140.0100.05711.22
5.2.130.0000.04011.08
5.2.120.0000.04011.18
5.2.110.0070.04011.13
5.2.100.0100.05710.99
5.2.90.0070.04011.01
5.2.80.0070.06311.20
5.2.70.0070.06011.14
5.2.60.0070.06311.05
5.2.50.0030.05011.00
5.2.40.0100.04711.09
5.2.30.0070.06310.97
5.2.20.0070.03710.81
5.2.10.0030.05710.91
5.2.00.0100.04010.82
5.1.60.0100.0479.99
5.1.50.0000.0479.82
5.1.40.0000.04010.00
5.1.30.0070.06710.26
5.1.20.0030.03710.27
5.1.10.0130.05010.14
5.1.00.0030.04310.14
5.0.50.0030.0438.53
5.0.40.0030.0478.43
5.0.30.0000.0678.20
5.0.20.0100.0308.29
5.0.10.0100.0408.24
5.0.00.0070.0608.03
4.4.90.0000.0377.41
4.4.80.0000.0377.41
4.4.70.0070.0277.41
4.4.60.0000.0177.41
4.4.50.0000.0307.41
4.4.40.0100.0507.41
4.4.30.0070.0337.41
4.4.20.0000.0207.41
4.4.10.0030.0207.41
4.4.00.0000.0377.41
4.3.110.0030.0377.41
4.3.100.0000.0307.41
4.3.90.0030.0337.41
4.3.80.0000.0407.41
4.3.70.0030.0277.41
4.3.60.0030.0177.41
4.3.50.0000.0237.41
4.3.40.0070.0407.41
4.3.30.0000.0207.41
4.3.20.0000.0207.41
4.3.10.0000.0377.41
4.3.00.0000.0307.41

preferences:
46.23 ms | 401 KiB | 5 Q