3v4l.org

run code in 300+ PHP versions simultaneously
<div class="artical"> <?php $username = "root"; $password = ""; $database = "techinsight"; $server = "127.0.0.1"; $db_handle = mysql_connect($server, $username, $password); $db_found = mysql_select_db($database, $db_handle); if ($db_found) { $SQL= "SELECT * from questions"; $result= mysql_query($SQL); while($db_field=mysql_fetch_assoc($result)) { $x=$db_field['Qid']; while($x==1 && $x==NULL) { $SQL= "SELECT * from questions"; $result= mysql_query($SQL); $db_field=mysql_fetch_assoc($result); $x=$db_field['Qid']; } } if($x==$x) { for($x; $x>0; $x--) { $SQL= "SELECT * from questions WHERE Qid=$x"; $result= mysql_query($SQL); $db_field=mysql_fetch_assoc($result); $str_que= $db_field['question']; echo "<div class='dabba'> <div class='block_a'> <?php include('a.php'); ?> //here it is. </div> <br> <div class='block_b'> it is 2nd section. <br> <div><br> <div class='block_c'> last one.<br> </div> </div> <br><br>"; } } } ?> </div>

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.0110.00416.88
8.3.50.0090.00622.02
8.3.40.0140.00418.90
8.3.30.0140.00419.01
8.3.20.0000.00920.23
8.3.10.0070.00023.65
8.3.00.0040.00421.02
8.2.180.0110.01116.63
8.2.170.0170.00322.96
8.2.160.0030.01020.21
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00422.25
8.2.110.0000.00922.02
8.2.100.0110.00017.78
8.2.90.0070.00019.23
8.2.80.0050.00318.04
8.2.70.0080.00017.63
8.2.60.0050.00318.03
8.2.50.0080.00018.07
8.2.40.0040.00418.28
8.2.30.0100.00018.06
8.2.20.0080.00017.60
8.2.10.0040.00417.75
8.2.00.0080.00017.80
8.1.280.0140.00725.92
8.1.270.0080.00022.14
8.1.260.0050.00326.35
8.1.250.0060.00328.09
8.1.240.0060.00323.96
8.1.230.0000.01018.92
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0000.00917.48
8.1.190.0040.00417.51
8.1.180.0020.00518.10
8.1.170.0040.00418.77
8.1.160.0000.00721.87
8.1.150.0040.00418.54
8.1.140.0070.00017.35
8.1.130.0030.00317.86
8.1.120.0030.00517.38
8.1.110.0030.00517.45
8.1.100.0040.00417.45
8.1.90.0000.00817.43
8.1.80.0030.00817.35
8.1.70.0030.00317.40
8.1.60.0030.00517.54
8.1.50.0030.00517.54
8.1.40.0030.00617.58
8.1.30.0030.00517.68
8.1.20.0000.00717.62
8.1.10.0050.00317.57
8.1.00.0040.00417.59
8.0.300.0050.00318.77
8.0.290.0000.00817.30
8.0.280.0000.00718.60
8.0.270.0030.00317.31
8.0.260.0000.00717.00
8.0.250.0030.00316.91
8.0.240.0030.00317.02
8.0.230.0030.00617.03
8.0.220.0030.00316.95
8.0.210.0030.00516.84
8.0.200.0040.00416.98
8.0.190.0030.00317.06
8.0.180.0050.00316.95
8.0.170.0000.00716.97
8.0.160.0000.00717.02
8.0.150.0000.00816.97
8.0.140.0070.00016.85
8.0.130.0000.00513.48
8.0.120.0060.00316.89
8.0.110.0040.00416.93
8.0.100.0000.00716.99
8.0.90.0040.00416.80
8.0.80.0110.01116.89
8.0.70.0030.00616.99
8.0.60.0040.00417.07
8.0.50.0050.00316.98
8.0.30.0090.01317.07
8.0.20.0110.01317.40
8.0.10.0050.00316.94
8.0.00.0030.01916.70
7.4.330.0000.00515.00
7.4.320.0080.00016.65
7.4.300.0000.00716.68
7.4.290.0070.00016.50
7.4.280.0030.00316.58
7.4.270.0040.00416.51
7.4.260.0000.00716.65
7.4.250.0080.00016.53
7.4.240.0020.00516.68
7.4.230.0070.00016.78
7.4.220.0140.01016.51
7.4.210.0060.01116.59
7.4.200.0000.00716.37
7.4.190.0070.00016.45
7.4.160.0060.01016.56
7.4.150.0130.00617.40
7.4.140.0100.00717.86
7.4.130.0030.01316.64
7.4.120.0070.01016.51
7.4.110.0000.01716.70
7.4.100.0150.00616.41
7.4.90.0080.00816.47
7.4.80.0120.00619.39
7.4.70.0060.01516.54
7.4.60.0100.00716.42
7.4.50.0040.00416.52
7.4.40.0050.00922.77
7.4.30.0060.00916.78
7.4.00.0090.00315.03
7.3.330.0050.00013.23
7.3.320.0030.00213.10
7.3.310.0040.00416.31
7.3.300.0000.00816.21
7.3.290.0030.01016.25
7.3.280.0120.00616.28
7.3.270.0100.00717.40
7.3.260.0120.00616.56
7.3.250.0130.00716.44
7.3.240.0160.00616.63
7.3.230.0130.00716.40
7.3.210.0110.00616.37
7.3.200.0000.02019.39
7.3.190.0120.00916.26
7.3.180.0060.00916.54
7.3.170.0180.00616.34
7.3.160.0060.00916.55
7.3.120.0040.01114.98
7.2.330.0030.01916.55
7.2.320.0090.00616.31
7.2.310.0090.00916.40
7.2.300.0070.01016.73
7.2.290.0040.01216.64
7.2.60.0060.00616.82
7.2.00.0030.01219.34
7.1.200.0090.00315.67
7.1.100.0030.00718.05
7.1.70.0030.00317.16
7.1.60.0170.00719.29
7.1.50.0120.01716.86
7.1.00.0030.07722.51
7.0.200.0040.00416.82
7.0.140.0030.07322.09
7.0.60.0070.07319.89
7.0.50.0070.07717.89
7.0.40.0070.05020.30
7.0.30.0170.04720.18
7.0.20.0300.03320.04
7.0.10.0070.04720.02
7.0.00.0070.04720.30
5.6.280.0100.08021.08
5.6.210.0300.06020.45
5.6.200.0070.06318.09
5.6.190.0130.03720.32
5.6.180.0430.08320.27
5.6.170.0300.07720.38
5.6.160.0070.04320.44
5.6.150.0070.03718.12
5.6.140.0070.07718.11
5.6.130.0070.08018.12
5.6.120.0100.06720.90
5.6.110.0000.04721.05
5.6.100.0130.07321.14
5.6.90.0100.08021.02
5.6.80.0030.07320.42
5.5.350.0330.07320.40
5.5.340.0030.05717.99
5.5.330.0130.05020.38
5.5.320.0130.04320.29
5.5.310.0170.04720.41
5.5.300.0030.07018.00
5.5.290.0100.08317.98
5.5.280.0070.05720.69
5.5.270.0000.04720.62
5.5.260.0030.04720.87
5.5.250.0070.08320.62
5.5.240.0000.08320.27
5.4.450.0500.05719.56
5.4.440.0400.07019.39
5.4.430.0100.07719.61
5.4.420.0870.04719.61
5.4.410.0930.04719.08
5.4.400.0830.05318.91
5.4.390.0230.06318.95
5.4.380.0170.05018.72
5.4.370.0130.03718.67
5.4.360.0100.04018.73
5.4.350.0030.03811.98
5.4.340.0060.03611.98
5.4.320.0040.04012.47
5.4.310.0070.03812.46
5.4.300.0050.04412.47
5.4.290.0120.04212.46
5.4.280.0050.03612.36
5.4.270.0100.04112.33
5.4.260.0090.03412.33
5.4.250.0070.04012.33
5.4.240.0050.03712.33
5.4.230.0050.03812.32
5.4.220.0050.03612.32
5.4.210.0060.03512.32
5.4.200.0040.04012.32
5.4.190.0050.03612.32
5.4.180.0050.03812.32
5.4.170.0070.03712.33
5.4.160.0050.03712.32
5.4.150.0020.04112.32
5.4.140.0050.03812.00
5.4.130.0070.03511.99
5.4.120.0090.03611.95
5.4.110.0030.04111.95
5.4.100.0050.03611.95
5.4.90.0060.03811.95
5.4.80.0050.04711.95
5.4.70.0070.03511.94
5.4.60.0080.03711.94
5.4.50.0070.03511.94
5.4.40.0060.03411.93
5.4.30.0050.03611.93
5.4.20.0030.03911.93
5.4.10.0060.04211.92
5.4.00.0040.03711.41
5.3.290.0060.03912.80
5.3.280.0070.03712.70
5.3.270.0060.04312.72
5.3.260.0040.04212.72
5.3.250.0090.04912.72
5.3.240.0080.03612.72
5.3.230.0080.03812.71
5.3.220.0070.04112.68
5.3.210.0070.03912.68
5.3.200.0060.03712.68
5.3.190.0050.03912.67
5.3.180.0080.03412.68
5.3.170.0080.03712.67
5.3.160.0050.04012.67
5.3.150.0080.04012.67
5.3.140.0040.03912.66
5.3.130.0090.03512.66
5.3.120.0050.04312.65
5.3.110.0070.04012.66
5.3.100.0100.04512.12
5.3.90.0060.04012.08
5.3.80.0050.03912.07
5.3.70.0040.04112.07
5.3.60.0070.03812.06
5.3.50.0030.04212.00
5.3.40.0070.03912.00
5.3.30.0120.04111.94
5.3.20.0090.03311.71
5.3.10.0080.03311.68
5.3.00.0070.03811.66
5.2.170.0060.0349.16
5.2.160.0030.0319.16
5.2.150.0070.0299.17
5.2.140.0080.0389.16
5.2.130.0060.0289.13
5.2.120.0030.0319.12
5.2.110.0060.0299.12
5.2.100.0060.0359.13
5.2.90.0080.0289.13
5.2.80.0050.0329.12
5.2.70.0040.0339.11
5.2.60.0070.0339.07
5.2.50.0050.0299.04
5.2.40.0040.0309.01
5.2.30.0030.0339.00
5.2.20.0070.0278.98
5.2.10.0030.0308.91
5.2.00.0050.0308.76
5.1.60.0040.0298.05
5.1.50.0020.0288.05
5.1.40.0050.0248.04
5.1.30.0050.0258.38
5.1.20.0060.0258.41
5.1.10.0070.0238.13
5.1.00.0070.0238.13
5.0.50.0040.0206.62
5.0.40.0030.0196.47
5.0.30.0030.0316.28
5.0.20.0020.0206.27
5.0.10.0030.0206.24
5.0.00.0020.0336.23
4.4.90.0040.0154.78
4.4.80.0030.0164.76
4.4.70.0030.0164.75
4.4.60.0020.0164.75
4.4.50.0040.0164.77
4.4.40.0040.0284.71
4.4.30.0010.0194.76
4.4.20.0030.0164.85
4.4.10.0020.0194.85
4.4.00.0040.0254.76
4.3.110.0040.0154.67
4.3.100.0030.0154.67
4.3.90.0030.0174.63
4.3.80.0020.0264.58
4.3.70.0060.0194.63
4.3.60.0030.0174.63
4.3.50.0030.0164.63
4.3.40.0050.0234.54
4.3.30.0000.0193.32
4.3.20.0010.0183.30
4.3.10.0020.0223.26
4.3.00.0070.0237.60

preferences:
46.25 ms | 400 KiB | 5 Q