3v4l.org

run code in 300+ PHP versions simultaneously
<?php $menu_id = $_POST['menu_id']; $menu_name = $_POST['menu_name']; $yes = $_POST['yes']; ?> <form action=""> <table> <thead> <tr> <th>Menu Id</th> <th>Menu Name</th> <th>Yes/No</th> </tr> </thead> <tbody> <?php foreach($result as $res) { ?> <tr> <td><input type="text" name="menu_id[]" value="<?= $res->menu_id ?>"></td> <td><input type="text" name="menu_name[]" value="<?= $res->menu_name ?>"></td> <td><input type="checkbox" name="yes[]" value="<?= $res->menu_id ?>"></td> </tr> <?php } ?> </tbody> </table>

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.5.30.0080.01021.18
8.5.20.0090.01019.57
8.5.10.0120.00818.70
8.5.00.0140.00720.09
8.4.180.0070.00319.82
8.4.170.0120.01223.80
8.4.160.0090.01123.81
8.4.150.0080.00416.90
8.4.140.0100.01217.79
8.4.130.0130.00517.91
8.4.120.0050.00420.69
8.4.110.0060.00718.84
8.4.100.0100.01117.65
8.4.90.0120.00718.84
8.4.80.0070.00318.07
8.4.70.0040.00417.96
8.4.60.0110.01018.63
8.4.50.0090.01117.76
8.4.40.0100.01019.79
8.4.30.0040.00417.75
8.4.20.0090.00318.04
8.4.10.0140.00418.00
8.3.300.0110.00618.51
8.3.290.0130.01320.75
8.3.280.0090.01118.47
8.3.270.0100.00916.66
8.3.260.0120.00816.63
8.3.250.0070.01119.13
8.3.240.0080.00119.00
8.3.230.0070.00316.71
8.3.220.0090.00817.13
8.3.210.0120.00616.74
8.3.200.0040.00416.85
8.3.190.0080.01217.09
8.3.180.0050.00416.83
8.3.170.0120.00618.99
8.3.160.0110.00718.31
8.3.150.0150.00416.50
8.3.140.0150.00017.18
8.3.130.0050.00318.63
8.3.120.0050.00518.80
8.3.110.0090.00020.94
8.3.100.0040.00424.06
8.3.90.0040.01126.77
8.3.80.0000.01017.97
8.3.70.0120.00318.43
8.3.60.0150.00616.63
8.3.50.0070.00717.49
8.3.40.0060.00918.61
8.3.30.0110.00418.75
8.3.20.0050.00319.20
8.3.10.0040.00421.90
8.3.00.0080.00023.53
8.2.300.0100.00918.76
8.2.290.0100.00620.29
8.2.280.0150.00518.64
8.2.270.0110.00717.05
8.2.260.0150.00018.50
8.2.250.0110.00716.81
8.2.240.0030.00617.08
8.2.230.0060.00322.58
8.2.220.0070.00337.54
8.2.210.0110.00726.77
8.2.200.0030.00618.41
8.2.190.0160.00016.75
8.2.180.0110.00718.67
8.2.170.0110.00422.96
8.2.160.0090.00919.04
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00020.22
8.2.120.0040.00426.35
8.2.110.0210.00020.39
8.2.100.0130.00017.84
8.2.90.0040.00417.75
8.2.80.0000.00818.96
8.2.70.0040.00417.75
8.2.60.0030.00517.63
8.2.50.0040.00417.75
8.2.40.0050.00319.89
8.2.30.0000.00719.29
8.2.20.0040.00418.00
8.2.10.0000.00819.44
8.2.00.0040.00419.38
8.1.340.0110.00921.79
8.1.330.0100.00922.05
8.1.320.0090.01016.44
8.1.310.0030.00518.36
8.1.300.0040.00417.68
8.1.290.0040.00430.84
8.1.280.0080.01225.92
8.1.270.0050.00321.91
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0030.00723.90
8.1.230.0040.00720.88
8.1.220.0050.00318.55
8.1.210.0050.00318.77
8.1.200.0080.00017.25
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0030.00517.62
8.1.160.0000.00718.77
8.1.150.0040.00418.79
8.1.140.0000.00719.65
8.1.130.0030.00317.50
8.1.120.0070.00017.46
8.1.110.0090.00017.34
8.1.100.0000.00717.52
8.1.90.0070.00017.37
8.1.80.0030.00517.35
8.1.70.0030.00317.47
8.1.60.0050.00517.42
8.1.50.0070.00017.39
8.1.40.0070.00317.50
8.1.30.0070.00417.48
8.1.20.0000.00717.60
8.1.10.0050.00217.59
8.1.00.0040.00417.40
8.0.300.0000.00820.00
8.0.290.0040.00416.75
8.0.280.0070.00018.45
8.0.270.0000.00717.27
8.0.260.0000.00716.84
8.0.250.0000.00716.99
8.0.240.0070.00017.03
8.0.230.0060.00316.92
8.0.220.0040.00416.82
8.0.210.0030.00316.86
8.0.200.0000.00617.04
8.0.190.0040.00417.03
8.0.180.0040.00417.00
8.0.170.0030.00616.87
8.0.160.0050.00517.00
8.0.150.0000.00716.87
8.0.140.0040.00416.92
8.0.130.0000.00513.44
8.0.120.0040.00416.83
8.0.110.0080.00016.96
8.0.100.0080.00016.89
8.0.90.0050.00216.82
8.0.80.0060.00916.91
8.0.70.0050.00216.76
8.0.60.0030.00516.89
8.0.50.0000.00816.95
8.0.30.0140.00517.10
8.0.20.0140.00617.40
8.0.10.0040.00416.97
8.0.00.0080.01116.93
7.4.330.0000.00415.55
7.4.320.0000.00616.52
7.4.300.0000.00616.60
7.4.290.0070.00016.52
7.4.280.0000.00816.48
7.4.270.0060.00316.50
7.4.260.0030.00316.36
7.4.250.0080.00016.54
7.4.240.0060.00316.58
7.4.230.0040.00416.56
7.4.220.0040.00416.40
7.4.210.0090.01116.56
7.4.200.0030.00316.56
7.4.160.0090.00916.46
7.4.140.0090.00817.86
7.4.130.0150.00316.43
7.4.120.0110.00916.54
7.4.110.0090.00916.63
7.4.100.0080.00816.62
7.4.90.0130.01016.30
7.4.80.0070.01019.39
7.4.70.0160.00916.53
7.4.60.0030.01216.66
7.4.50.0090.00316.43
7.4.40.0090.00916.44
7.4.00.0050.01215.11
7.3.330.0000.00513.08
7.3.320.0000.00613.12
7.3.310.0000.00716.39
7.3.300.0000.00716.32
7.3.290.0030.00316.34
7.3.280.0040.01116.38
7.3.260.0110.01116.44
7.3.240.0110.00716.48
7.3.230.0100.00816.53
7.3.210.0100.00616.40
7.3.200.0150.00616.37
7.3.190.0090.00616.38
7.3.180.0040.01216.41
7.3.170.0030.01216.46
7.3.160.0180.00016.61
7.3.120.0120.00614.93
7.3.110.0100.00714.94
7.3.100.0060.00914.83
7.3.90.0060.00614.79
7.3.80.0040.00814.55
7.3.70.0040.00814.57
7.3.60.0030.01014.95
7.3.50.0100.00015.00
7.3.40.0000.00814.97
7.3.30.0030.00614.87
7.3.20.0080.00316.39
7.3.10.0060.01116.44
7.3.00.0070.01016.63
7.2.330.0120.01316.68
7.2.320.0130.00416.70
7.2.310.0090.01516.49
7.2.300.0100.00716.74
7.2.290.0130.01216.40
7.2.250.0030.01715.03
7.2.240.0150.00315.25
7.2.230.0090.00315.12
7.2.220.0030.00915.08
7.2.210.0060.00914.96
7.2.200.0040.00814.95
7.2.190.0120.00615.13
7.2.180.0070.00715.17
7.2.170.0070.00715.05
7.2.130.0080.01216.60
7.2.120.0160.00816.53
7.2.110.0200.00016.65
7.2.100.0140.01116.60
7.2.90.0160.01216.37
7.2.80.0220.00715.81
7.2.70.0170.00915.61
7.2.60.0130.00715.71
7.2.50.0140.00915.76
7.2.40.0170.00915.80
7.2.30.0110.00915.80
7.2.20.0210.00915.76
7.2.10.0180.01115.75
7.2.00.0120.01015.68
7.1.330.0060.00915.48
7.1.320.0080.00415.91
7.1.310.0000.01015.59
7.1.300.0030.00615.84
7.1.290.0040.00815.74
7.1.280.0000.01515.39
7.1.270.0060.00615.71
7.1.260.0070.00715.85
7.1.250.0080.01215.46
7.1.200.0030.00515.57
7.1.190.0300.00613.70
7.1.180.0220.00413.81
7.1.170.0240.01013.73
7.1.160.0210.00713.69
7.1.150.0210.00613.99
7.1.140.0330.00614.01
7.1.130.0270.00013.82
7.1.120.0260.01013.62
7.1.110.0250.00413.52
7.1.100.0230.00413.80
7.1.90.0350.00413.88
7.1.80.0210.01413.79
7.1.70.0200.00613.89
7.1.60.0440.00331.97
7.1.50.0520.01031.63
7.1.40.0390.00731.79
7.1.30.0580.01031.68
7.1.20.0490.00731.74
7.1.10.0300.01013.78
7.1.00.0220.00614.13

preferences:
52 ms | 1715 KiB | 5 Q