3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myArray = array( '@@warning_count' => 2, array( 'level' => 'Warning', 'code' => 1266, 'message' => "Incorrect integer value: ‘Johny’ for column ‘billing_cycle’ at row 1"), array( 'level' => 'Warning', 'code' => 1266, 'message' => "Incorrect integer value: ‘Johny’ for column ‘billing_cycle’ at row 1"), ); foreach($myArray as $k => $v) { echo $k . ": " . $v; }

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.55
8.3.50.0050.01321.98
8.3.40.0100.01018.70
8.3.30.0100.00320.18
8.3.20.0040.00418.77
8.3.10.0080.00020.97
8.3.00.0050.00319.66
8.2.180.0070.00716.50
8.2.170.0090.00922.96
8.2.160.0110.00722.12
8.2.150.0100.01024.18
8.2.140.0000.00724.66
8.2.130.0050.00326.16
8.2.120.0070.00020.94
8.2.110.0060.00322.26
8.2.100.0080.00417.72
8.2.90.0000.00719.23
8.2.80.0000.00719.28
8.2.70.0030.00617.50
8.2.60.0080.00017.80
8.2.50.0040.00418.07
8.2.40.0000.00918.22
8.2.30.0000.00821.11
8.2.20.0080.00017.57
8.2.10.0050.00217.68
8.2.00.0050.00317.71
8.1.280.0130.01025.92
8.1.270.0060.00323.99
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0060.00322.41
8.1.230.0070.00420.91
8.1.220.0060.00318.77
8.1.210.0000.00819.04
8.1.200.0000.00817.35
8.1.190.0040.00417.53
8.1.180.0050.00318.10
8.1.170.0090.00018.71
8.1.160.0040.00418.80
8.1.150.0050.00218.56
8.1.140.0070.00017.45
8.1.130.0040.00417.82
8.1.120.0080.00017.46
8.1.110.0040.00417.45
8.1.100.0070.00017.53
8.1.90.0030.00317.39
8.1.80.0050.00217.45
8.1.70.0030.00317.43
8.1.60.0060.00317.49
8.1.50.0000.00717.48
8.1.40.0030.00517.59
8.1.30.0080.00017.61
8.1.20.0000.00917.62
8.1.10.0000.00917.46
8.1.00.0030.00617.33
8.0.300.0060.00320.01
8.0.290.0000.00717.04
8.0.280.0030.00318.50
8.0.270.0070.00017.32
8.0.260.0000.00616.88
8.0.250.0070.00016.99
8.0.240.0060.00316.92
8.0.230.0030.00316.91
8.0.220.0030.00317.02
8.0.210.0000.00716.97
8.0.200.0030.00317.01
8.0.190.0070.00017.00
8.0.180.0000.00716.97
8.0.170.0030.00316.91
8.0.160.0030.00616.88
8.0.150.0040.00416.79
8.0.140.0050.00216.80
8.0.130.0030.00313.32
8.0.120.0080.00016.94
8.0.110.0040.00416.92
8.0.100.0000.00816.98
8.0.90.0040.00417.06
8.0.80.0070.00716.84
8.0.70.0040.00416.74
8.0.60.0030.00516.79
8.0.50.0000.00816.96
8.0.30.0180.00217.04
8.0.20.0100.01017.40
8.0.10.0000.00717.03
8.0.00.0080.01216.55
7.4.330.0000.00415.00
7.4.320.0000.00716.50
7.4.300.0080.00316.52
7.4.290.0070.00016.40
7.4.280.0030.00316.60
7.4.270.0000.00616.52
7.4.260.0020.00213.29
7.4.250.0040.00416.59
7.4.240.0000.00716.63
7.4.230.0000.00716.58
7.4.220.0070.01016.54
7.4.210.0080.00716.48
7.4.200.0000.00716.39
7.4.190.0030.00316.69
7.4.160.0160.00616.39
7.4.150.0120.01217.40
7.4.140.0080.01117.86
7.4.130.0070.01016.37
7.4.120.0070.01316.48
7.4.110.0120.00716.51
7.4.100.0190.00416.48
7.4.90.0050.01816.46
7.4.80.0110.00619.39
7.4.70.0030.01316.40
7.4.60.0140.00316.41
7.4.50.0040.00416.45
7.4.40.0100.01022.77
7.4.30.0080.01416.50
7.4.00.0080.00415.15
7.3.330.0000.00513.26
7.3.320.0000.00713.25
7.3.310.0000.00716.43
7.3.300.0030.00316.16
7.3.290.0040.01116.32
7.3.280.0070.01016.36
7.3.270.0120.00617.40
7.3.260.0130.00918.24
7.3.250.0110.00716.52
7.3.240.0050.01316.56
7.3.230.0150.00316.51
7.3.210.0100.00716.49
7.3.200.0090.01319.39
7.3.190.0180.00316.52
7.3.180.0040.01216.48
7.3.170.0110.00516.41
7.3.160.0060.01116.60
7.3.120.0060.00915.06
7.2.330.0060.01016.50
7.2.320.0060.01216.42
7.2.310.0110.01216.55
7.2.300.0130.00316.50
7.2.290.0080.00816.70
7.2.00.0110.00419.38
7.1.100.0030.01017.90
7.1.70.0030.00516.96
7.1.60.0070.00717.18
7.1.50.0080.00316.83
7.1.40.0100.00316.52
7.1.30.0030.00916.68
7.1.20.0000.01116.67
7.1.10.0000.00716.75
7.1.00.0060.00316.48
7.0.200.0000.01116.75
7.0.190.0080.00016.70
7.0.180.0040.01216.30
7.0.170.0000.00816.18
7.0.160.0000.00716.14
7.0.150.0040.00416.14
7.0.140.0000.00916.12
7.0.130.0000.01016.31
7.0.120.0000.01016.64
7.0.110.0000.00816.34
7.0.100.0000.00716.33
7.0.90.0000.01616.20
7.0.80.0030.00516.28
7.0.70.0030.00616.30
7.0.60.0000.00715.88
7.0.50.0000.00716.21
7.0.40.0030.01315.05
7.0.30.0000.01415.05
7.0.20.0000.01115.05
7.0.10.0000.00915.05
7.0.00.0050.00515.05
5.6.300.0060.03920.79
5.6.290.0000.04520.90
5.6.280.0330.03720.92
5.6.270.0100.03820.82
5.6.260.0070.04621.03
5.6.250.0270.03420.92
5.6.240.0070.07421.00
5.6.230.0000.06120.91
5.6.220.0030.04320.91
5.6.210.0000.04820.54
5.6.200.0070.04320.77
5.6.190.0130.03020.77
5.6.180.0030.06720.88
5.6.170.0030.04120.80
5.6.160.0000.04720.77
5.6.150.0030.05320.87
5.6.140.0130.03020.74
5.6.130.0160.04920.89
5.6.120.0070.04220.96
5.6.110.0060.04220.95
5.6.100.0100.03520.79
5.6.90.0070.04320.95
5.6.80.0030.04320.36
5.6.70.0030.03720.08
5.6.60.0270.03620.22
5.6.50.0070.03620.15
5.6.40.0030.04020.32
5.6.30.0030.04620.34
5.6.20.0070.04420.10
5.6.10.0070.03720.23
5.6.00.0000.04020.21
5.5.380.0070.08517.47
5.5.370.0060.03517.49
5.5.360.0030.03817.45
5.5.350.0000.04117.49
5.5.340.0060.03818.00
5.5.330.0070.08318.02
5.5.320.0030.05318.03
5.5.310.0070.03518.02
5.5.300.0000.04317.97
5.5.290.0030.04517.86
5.5.280.0000.04917.95
5.5.270.0060.03718.01
5.5.260.0000.04317.93
5.5.250.0030.04217.74
5.5.240.0030.04017.35
5.5.230.0030.05217.43
5.5.220.0000.04317.44
5.5.210.0230.03517.35
5.5.200.0000.04017.30
5.5.190.0100.03217.42
5.5.180.0030.09417.34
5.5.160.0060.03617.37
5.5.150.0040.03617.40
5.5.140.0000.05017.38
5.5.130.0000.04517.18
5.5.120.0030.03717.41
5.5.110.0000.04517.18
5.5.100.0030.04317.25
5.5.90.0070.03217.27
5.5.80.0000.03916.93
5.5.70.0000.06416.95
5.5.60.0000.04617.35
5.5.50.0060.03217.10
5.5.40.0070.03317.18
5.5.30.0000.04217.26
5.5.20.0030.04717.26
5.5.10.0000.04917.12
5.5.00.0000.05417.17
5.4.450.0200.03419.47
5.4.440.0000.04319.39
5.4.430.0000.04419.42
5.4.420.0070.04019.34
5.4.410.0030.04419.34
5.4.400.0030.03619.17
5.4.390.0000.04019.01
5.4.380.0030.03719.02
5.4.370.0030.04219.11
5.4.360.0000.04519.14
5.4.350.0000.04019.02
5.4.340.0030.03919.07
5.4.320.0100.05618.86
5.4.310.0130.04718.86
5.4.300.0070.05818.88
5.4.290.0030.03718.81
5.4.280.0030.04118.98
5.4.270.0040.03919.04
5.4.260.0030.04119.07
5.4.250.0070.04919.04
5.4.240.0030.04419.16
5.4.230.0030.04019.05
5.4.220.0000.04718.91
5.4.210.0000.04518.85
5.4.200.0030.04019.07
5.4.190.0000.04318.97
5.4.180.0030.03718.91
5.4.170.0000.04419.16
5.4.160.0030.03619.01
5.4.150.0030.03919.15
5.4.140.0000.04516.56
5.4.130.0030.06616.47
5.4.120.0000.04016.55
5.4.110.0030.04216.36
5.4.100.0000.04016.58
5.4.90.0000.08516.42
5.4.80.0030.03416.64
5.4.70.0070.03316.48
5.4.60.0000.04216.44
5.4.50.0000.03716.59
5.4.40.0070.03016.53
5.4.30.0000.03916.66
5.4.20.0030.04516.61
5.4.10.0000.04116.30
5.4.00.0000.06215.77
5.3.290.0030.03715.05
5.3.280.0060.03115.05
5.3.270.0030.03715.05
5.3.260.0000.04015.05
5.3.250.0060.04115.05
5.3.240.0070.07515.05
5.3.230.0000.05915.05
5.3.220.0000.04215.05
5.3.210.0040.03915.05
5.3.200.0030.03915.05
5.3.190.0000.06015.05
5.3.180.0000.04015.05
5.3.170.0000.05415.05
5.3.160.0070.03115.05
5.3.150.0030.03915.05
5.3.140.0000.04815.05
5.3.130.0070.04715.05
5.3.120.0070.03315.05
5.3.110.0030.04115.05
5.3.100.0030.04415.05
5.3.90.0030.04215.05
5.3.80.0030.03415.05
5.3.70.0030.03815.05
5.3.60.0000.03915.05
5.3.50.0000.03815.05
5.3.40.0000.04115.05
5.3.30.0000.04015.05
5.3.20.0000.03715.05
5.3.10.0030.03515.05
5.3.00.0000.03615.05
5.2.170.0000.03515.05
5.2.160.0040.02815.05
5.2.150.0000.03415.05
5.2.140.0030.02815.05
5.2.130.0040.02815.05
5.2.120.0030.03015.05
5.2.110.0030.02915.05
5.2.100.0030.03315.05
5.2.90.0070.02215.05
5.2.80.0070.02315.05
5.2.70.0000.03415.05
5.2.60.0000.03115.05
5.2.50.0000.03315.05
5.2.40.0030.02715.05
5.2.30.0060.02415.05
5.2.20.0030.03115.05
5.2.10.0060.02815.05
5.2.00.0070.02615.05
5.1.60.0040.02215.05
5.1.50.0030.02515.05
5.1.40.0000.02715.05
5.1.30.0030.02815.05
5.1.20.0000.03115.05
5.1.10.0270.02715.05
5.1.00.0030.02515.05
5.0.50.0040.02215.05
5.0.40.0000.02115.05
5.0.30.0030.03915.05
5.0.20.0030.01915.05
5.0.10.0000.02615.05
5.0.00.0100.02715.05
4.4.90.0000.02415.05
4.4.80.0000.01715.05
4.4.70.0000.02115.05
4.4.60.0040.01415.05
4.4.50.0030.01515.05
4.4.40.0060.01915.05
4.4.30.0000.02115.05
4.4.20.0130.02015.05
4.4.10.0060.01115.05
4.4.00.0000.02515.05
4.3.110.0000.01615.05
4.3.100.0000.01915.05
4.3.90.0030.01615.05
4.3.80.0000.02715.05
4.3.70.0000.01515.05
4.3.60.0000.01515.05
4.3.50.0060.01315.05
4.3.40.0000.02515.05
4.3.30.0030.01915.05
4.3.20.0000.01715.05
4.3.10.0000.01715.05
4.3.00.0000.01615.05

preferences:
44.79 ms | 401 KiB | 5 Q