3v4l.org

run code in 300+ PHP versions simultaneously
<?php $excel_tableau = array(); $test = array("0","1","2","3","4"); $testt = array("a","b","c","d"); for($i=0;$i<=5;$i++){ $ligne = array($testt[$i],"test","test2"); array_push($excel_tableau,$ligne); } ?>

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.01018.55
8.3.50.0110.00416.46
8.3.40.0100.01018.71
8.3.30.0090.00618.71
8.3.20.0000.01120.30
8.3.10.0080.00021.86
8.3.00.0080.00020.77
8.2.180.0070.01118.54
8.2.170.0100.00322.96
8.2.160.0100.00322.03
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00420.39
8.2.120.0000.00826.35
8.2.110.0030.00620.28
8.2.100.0090.00317.84
8.2.90.0050.00319.05
8.2.80.0000.00818.04
8.2.70.0030.00617.63
8.2.60.0030.00617.80
8.2.50.0060.00318.10
8.2.40.0040.00422.18
8.2.30.0040.00421.08
8.2.20.0040.00418.09
8.2.10.0000.00718.18
8.2.00.0060.00318.16
8.1.280.0070.01025.92
8.1.270.0000.00822.06
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0050.00522.68
8.1.230.0110.00019.10
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00417.25
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0000.00918.71
8.1.160.0050.00319.02
8.1.150.0000.00718.89
8.1.140.0070.00019.57
8.1.130.0030.00518.91
8.1.120.0000.00817.37
8.1.110.0000.00717.50
8.1.100.0040.00417.46
8.1.90.0100.00217.45
8.1.80.0000.00717.49
8.1.70.0030.00317.48
8.1.60.0040.00417.48
8.1.50.0060.00317.52
8.1.40.0000.00817.52
8.1.30.0040.00417.55
8.1.20.0040.00417.61
8.1.10.0040.00417.47
8.1.00.0000.00717.42
8.0.300.0070.00018.77
8.0.290.0000.00816.88
8.0.280.0000.00718.32
8.0.270.0030.00317.14
8.0.260.0060.00016.85
8.0.250.0000.00617.05
8.0.240.0000.00716.93
8.0.230.0000.00716.98
8.0.220.0030.00316.84
8.0.210.0000.00716.95
8.0.200.0060.00017.00
8.0.190.0020.00517.03
8.0.180.0000.01017.00
8.0.170.0040.00416.92
8.0.160.0000.00716.80
8.0.150.0030.00516.91
8.0.140.0080.00016.91
8.0.130.0050.00213.42
8.0.120.0000.00716.81
8.0.110.0040.00416.79
8.0.100.0070.00016.91
8.0.90.0040.00416.91
8.0.80.0060.00916.84
8.0.70.0000.00716.95
8.0.60.0040.00416.87
8.0.50.0050.00216.80
8.0.30.0100.00717.09
8.0.20.0080.01117.40
8.0.10.0000.00717.04
8.0.00.0100.01316.63
7.4.330.0030.00315.55
7.4.320.0060.00016.52
7.4.300.0040.00416.61
7.4.290.0000.00616.41
7.4.280.0000.00816.66
7.4.270.0000.00716.61
7.4.260.0030.00316.59
7.4.250.0000.00816.32
7.4.240.0040.00416.59
7.4.230.0060.00016.41
7.4.220.0100.00616.63
7.4.210.0170.00016.57
7.4.200.0040.00416.43
7.4.160.0090.00816.37
7.4.150.0160.00317.40
7.4.140.0070.01017.86
7.4.130.0110.00716.73
7.4.120.0090.01116.56
7.4.110.0080.00816.60
7.4.100.0070.01416.45
7.4.90.0140.00316.48
7.4.80.0150.00419.39
7.4.70.0120.00616.52
7.4.60.0100.00616.73
7.4.50.0080.00516.44
7.4.40.0120.00616.23
7.4.30.0070.01016.54
7.4.00.0030.01114.85
7.3.330.0030.00313.26
7.3.320.0000.00513.17
7.3.310.0040.00416.18
7.3.300.0000.00616.34
7.3.290.0080.00716.31
7.3.280.0080.00816.35
7.3.270.0190.00317.40
7.3.260.0110.00516.32
7.3.250.0130.00516.48
7.3.240.0100.00716.39
7.3.230.0160.00416.35
7.3.210.0130.00316.58
7.3.200.0120.00316.50
7.3.190.0120.00316.43
7.3.180.0110.00516.43
7.3.170.0000.01616.65
7.3.160.0030.01216.34
7.3.10.0070.00816.47
7.3.00.0060.00516.65
7.2.330.0110.01416.51
7.2.320.0060.01116.61
7.2.310.0140.00316.70
7.2.300.0100.00716.73
7.2.290.0030.01316.64
7.2.130.0030.00916.51
7.2.120.0060.00716.53
7.2.110.0080.00716.59
7.2.100.0100.00516.77
7.2.90.0070.00416.71
7.2.80.0050.00716.80
7.2.70.0050.01316.63
7.2.60.0230.00716.05
7.2.50.0070.00316.89
7.2.40.0080.00616.84
7.2.30.0040.00716.70
7.2.20.0020.01316.75
7.2.10.0020.01216.84
7.2.00.0090.00717.52
7.1.250.0060.00815.92
7.1.200.0100.00315.93
7.1.100.0000.00818.23
7.1.70.0000.00717.18
7.1.60.0730.00733.09
7.1.50.0630.01033.16
7.1.40.0870.01732.60
7.1.30.0930.01032.83
7.1.20.0600.00332.75
7.1.10.0670.01714.75
7.1.00.0470.00314.78
7.0.200.0600.01314.62
7.0.190.0470.01015.07
7.0.180.0800.00314.53
7.0.170.0470.01314.49
7.0.160.0570.00714.51
7.0.150.0500.01314.24
7.0.140.0400.01714.45
7.0.130.1300.01314.58
7.0.120.0470.01014.64
7.0.110.0570.01014.32
7.0.100.0730.00714.46
7.0.90.0430.01014.52
7.0.80.0370.01014.42
7.0.70.0370.01014.57
7.0.60.0470.01314.30
7.0.50.0400.01014.45
7.0.40.0370.01014.72
7.0.30.0500.00714.89
7.0.20.0530.01014.64
7.0.10.0430.00314.82
7.0.00.0330.01714.68

preferences:
42.5 ms | 400 KiB | 5 Q