3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myarray = [ 'description' => 'some desc', 'link' => 'example.com', 'image_id' => '64' ]; print_r($myarray);

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.0120.00917.93
8.3.50.0070.00716.07
8.3.40.0060.01318.32
8.3.30.0150.00018.59
8.3.20.0050.00221.87
8.3.10.0050.00321.60
8.3.00.0040.00419.07
8.2.180.0060.00918.05
8.2.170.0070.01422.96
8.2.160.0110.00722.13
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0050.00322.30
8.2.120.0070.00026.35
8.2.110.0070.00319.16
8.2.100.0080.00317.64
8.2.90.0040.00419.23
8.2.80.0080.00017.97
8.2.70.0000.00817.63
8.2.60.0080.00017.91
8.2.50.0040.00418.10
8.2.40.0020.00520.59
8.2.30.0000.00719.05
8.2.20.0100.00017.99
8.2.10.0000.00718.09
8.2.00.0040.00417.93
8.1.280.0080.00825.92
8.1.270.0040.00423.73
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0050.00522.04
8.1.230.0110.00019.10
8.1.220.0000.00917.74
8.1.210.0050.00318.77
8.1.200.0040.00417.10
8.1.190.0000.00817.11
8.1.180.0000.00818.10
8.1.170.0080.00018.39
8.1.160.0050.00218.81
8.1.150.0040.00418.68
8.1.140.0030.00519.56
8.1.130.0070.00018.81
8.1.120.0070.00317.41
8.1.110.0070.00017.29
8.1.100.0000.00717.43
8.1.90.0040.00417.41
8.1.80.0040.00417.20
8.1.70.0000.00817.26
8.1.60.0050.00217.53
8.1.50.0000.00817.46
8.1.40.0030.00617.43
8.1.30.0000.00817.64
8.1.20.0080.00017.47
8.1.10.0040.00417.50
8.1.00.0000.00717.43
8.0.300.0040.00418.77
8.0.290.0000.00716.58
8.0.280.0050.00218.23
8.0.270.0000.00717.22
8.0.260.0030.00318.42
8.0.250.0030.00316.84
8.0.240.0050.00316.74
8.0.230.0000.00716.88
8.0.220.0000.00716.77
8.0.210.0000.00716.82
8.0.200.0000.00616.86
8.0.190.0030.00716.86
8.0.180.0040.00416.86
8.0.170.0000.00716.85
8.0.160.0030.00616.71
8.0.150.0000.00716.81
8.0.140.0050.00216.67
8.0.130.0060.00013.25
8.0.120.0000.00716.80
8.0.110.0000.00716.68
8.0.100.0040.00416.62
8.0.90.0000.00716.76
8.0.80.0090.01516.87
8.0.70.0070.00016.78
8.0.60.0040.00416.88
8.0.50.0040.00416.87
8.0.30.0080.00916.87
8.0.20.0100.01017.40
8.0.10.0030.00516.82
8.0.00.0160.01016.45
7.4.330.0000.00515.55
7.4.320.0030.00316.42
7.4.300.0000.00616.41
7.4.290.0050.00316.47
7.4.280.0030.00616.52
7.4.270.0040.00416.54
7.4.260.0060.00013.24
7.4.250.0070.00016.48
7.4.240.0070.00016.57
7.4.230.0030.00316.52
7.4.220.0100.01016.34
7.4.210.0120.00316.52
7.4.200.0060.00016.62
7.4.160.0130.00216.50
7.4.150.0100.01417.40
7.4.140.0090.00917.86
7.4.130.0110.01116.26
7.4.120.0090.01316.42
7.4.110.0130.00616.58
7.4.100.0100.00716.35
7.4.90.0040.01216.50
7.4.80.0130.01019.39
7.4.70.0030.01616.56
7.4.60.0100.00616.27
7.4.50.0060.01016.49
7.4.40.0030.01316.29
7.4.30.0150.00316.46
7.4.00.0090.00314.89
7.3.330.0050.00013.07
7.3.320.0000.00513.00
7.3.310.0040.00416.08
7.3.300.0000.00616.11
7.3.290.0050.01116.13
7.3.280.0070.01016.11
7.3.270.0100.00717.40
7.3.260.0110.00616.24
7.3.250.0120.00916.26
7.3.240.0070.00916.28
7.3.230.0090.01016.16
7.3.210.0100.00716.34
7.3.200.0110.00516.37
7.3.190.0060.01016.18
7.3.180.0090.01316.35
7.3.170.0060.01016.32
7.3.160.0090.00616.25
7.2.330.0030.01416.22
7.2.320.0140.00316.09
7.2.310.0070.01016.32
7.2.300.0090.00916.44
7.2.290.0040.01916.31
7.2.60.0070.00716.69
7.2.00.0080.00319.25
7.1.200.0100.00315.68
7.1.100.0100.01018.10
7.1.70.0030.00916.83
7.1.60.0800.00733.22
7.1.50.1530.01732.68
7.1.40.0830.02332.58
7.1.30.0700.01732.43
7.1.20.0670.01032.43
7.1.10.0470.01014.65
7.1.00.0400.01014.94
7.0.200.0400.02014.83
7.0.190.0530.00314.74
7.0.180.0530.01714.42
7.0.170.0470.01314.38
7.0.160.0570.00314.26
7.0.150.0430.01014.29
7.0.140.0600.00714.48
7.0.130.0430.01314.55
7.0.120.0500.01014.72
7.0.110.0400.01714.30
7.0.100.0730.00314.40
7.0.90.0500.00714.43
7.0.80.0630.01014.39
7.0.70.0470.00714.35
7.0.60.0570.01014.21
7.0.50.0500.02014.36
7.0.40.0600.01314.73
7.0.30.0770.00714.52
7.0.20.0570.01014.45
7.0.10.0400.01314.48
7.0.00.0700.01314.66

preferences:
57.63 ms | 404 KiB | 6 Q