3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = [ ['p_description' => 'Eggs', 'p_category' => 'Food', 'p_cost' => 20, 'p_stock' => 20], ['p_description' => 'Coca Cola', 'p_category' => 'Drinks', 'p_cost' => 5, 'p_stock' => 30], ]; echo implode(', ', array_map(function($row) { return '[' . implode(', ', $row) . ']'; }, $result));

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.120.0060.00320.87
8.3.110.0060.00320.94
8.3.100.0000.00924.06
8.3.90.0040.00426.77
8.3.80.0090.00016.60
8.3.70.0110.00716.58
8.3.60.0090.00618.55
8.3.50.0090.00624.52
8.3.40.0070.00718.67
8.3.30.0070.00718.71
8.3.20.0000.00824.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.240.0000.00917.41
8.2.230.0090.00022.58
8.2.220.0000.00937.54
8.2.210.0070.00326.77
8.2.200.0030.00618.16
8.2.190.0120.00918.36
8.2.180.0110.00425.92
8.2.170.0040.01118.79
8.2.160.0060.01022.96
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0050.00326.35
8.2.110.0090.00019.21
8.2.100.0040.00817.64
8.2.90.0050.00317.91
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0040.00418.16
8.2.30.0050.00318.13
8.2.20.0050.00218.14
8.2.10.0040.00419.25
8.2.00.0040.00419.35
8.1.300.0040.00418.30
8.1.290.0110.00030.84
8.1.280.0110.00425.92
8.1.270.0080.00023.99
8.1.260.0030.00528.09
8.1.250.0020.00528.09
8.1.240.0180.00019.28
8.1.230.0080.00321.04
8.1.220.0080.00017.74
8.1.210.0040.00418.80
8.1.200.0030.00617.48
8.1.190.0000.00817.35
8.1.180.0080.00018.10
8.1.170.0040.00418.46
8.1.160.0000.00818.99
8.1.150.0000.00718.88
8.1.140.0030.00518.89
8.1.130.0040.00420.14
8.1.120.0070.00017.50
8.1.110.0000.00717.44
8.1.100.0030.00717.41
8.1.90.0000.00817.42
8.1.80.0030.00717.50
8.1.70.0000.00717.46
8.1.60.0030.00617.64
8.1.50.0040.00417.43
8.1.40.0080.00017.52
8.1.30.0030.00617.62
8.1.20.0000.00917.61
8.1.10.0030.00617.49
8.1.00.0040.00417.45
8.0.300.0000.00719.89
8.0.290.0040.00416.75
8.0.280.0000.00718.45
8.0.270.0000.00818.06
8.0.260.0040.00418.51
8.0.250.0060.00016.86
8.0.240.0000.00716.89
8.0.230.0030.00316.89
8.0.220.0000.00716.79
8.0.210.0070.00016.75
8.0.200.0060.00316.84
8.0.190.0050.00216.95
8.0.180.0040.00416.89
8.0.170.0080.00016.91
8.0.160.0050.00216.95
8.0.150.0070.00016.84
8.0.140.0000.00716.86
8.0.130.0050.00013.30
8.0.120.0070.00016.86
8.0.110.0050.00316.70
8.0.100.0040.00417.00
8.0.90.0000.00716.91
8.0.80.0090.00916.89
8.0.70.0070.00016.99
8.0.60.0000.00816.78
8.0.50.0040.00416.86
8.0.30.0080.00816.80
8.0.20.0090.01216.99
8.0.10.0040.00417.04
8.0.00.0100.01316.64
7.4.330.0030.00315.55
7.4.320.0040.00416.50
7.4.300.0000.00616.55
7.4.290.0000.00716.50
7.4.280.0050.00316.58
7.4.270.0030.00316.49
7.4.260.0050.00013.39
7.4.250.0000.00716.61
7.4.240.0070.00016.55
7.4.230.0000.00816.50
7.4.220.0020.00516.40
7.4.210.0030.01216.58
7.4.200.0040.00416.49
7.4.130.0070.01316.52
7.4.120.0110.01116.50
7.4.110.0140.00416.66
7.4.100.0080.00816.38
7.4.90.0100.00716.43
7.4.80.0060.01319.39
7.4.70.0110.00716.38
7.4.60.0100.00916.45
7.4.50.0140.01015.99
7.4.40.0100.01116.34
7.4.30.0050.01416.24
7.4.20.0160.00716.47
7.4.10.0110.00716.61
7.4.00.0110.01116.53
7.3.330.0030.00316.27
7.3.320.0060.00013.11
7.3.310.0000.00716.06
7.3.300.0060.00016.29
7.3.290.0040.01116.24
7.3.260.0090.00616.29
7.3.240.0100.00716.35
7.3.230.0070.01016.46
7.3.210.0100.01016.43
7.3.200.0100.00616.45
7.3.190.0090.00916.42
7.3.180.0080.01216.16
7.3.170.0120.00916.28
7.3.160.0110.00616.36
7.3.150.0050.01416.34
7.3.140.0110.00816.61
7.3.130.0170.00316.63
7.3.120.0110.00616.31
7.3.110.0120.00616.13
7.3.100.0090.01316.19
7.3.90.0090.01516.30
7.3.80.0040.01316.43
7.3.70.0180.00316.40
7.3.60.0100.00716.25
7.3.50.0110.00516.30
7.3.40.0090.01316.25
7.3.30.0030.01316.32
7.3.20.0060.01016.35
7.3.10.0070.01016.24
7.3.00.0090.01316.15
7.2.330.0150.00616.66
7.2.310.0110.01416.36
7.2.300.0150.00716.69
7.2.290.0060.01316.59
7.2.280.0080.01116.65
7.2.270.0030.01516.45
7.2.260.0120.00816.41
7.2.250.0120.00816.46
7.2.240.0140.00716.76
7.2.230.0130.01016.36
7.2.220.0160.00616.68
7.2.210.0150.00916.48
7.2.200.0130.01016.45
7.2.190.0060.01216.40
7.2.180.0100.00716.48
7.2.170.0120.00616.30
7.2.160.0030.01316.56
7.2.150.0160.00816.64
7.2.140.0270.01016.73
7.2.130.0040.01616.43
7.2.120.0040.01516.32
7.2.110.0110.00716.45
7.2.100.0030.01516.47
7.2.90.0250.00316.57
7.2.80.0060.01216.39
7.2.70.0120.00616.42
7.2.60.0090.00916.28
7.2.50.0090.00916.54
7.2.40.0000.01816.36
7.2.30.0140.00416.45
7.2.20.0070.01116.48
7.2.10.0070.01416.56
7.2.00.0090.01216.70

preferences:
28.57 ms | 403 KiB | 5 Q