3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* $input = array( array( 'tag_name' => 'google' ), array( 'tag_name' => 'technology' ) );*/ //column $a = "asd,sadsa,sdaad"; echo query_columns ($a,'adss', "ard = '1' and try = '12'"); //where function query_columns ($columns, $tables, $where) { //column //$columns = explode(',',$columns); //$columns = implode(',',$columns); $query = "SELECT $columns FROM $tables WHERE $where"; return $query; } ?>

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.01418.43
8.3.50.0140.00521.88
8.3.40.0070.01418.57
8.3.30.0030.01019.04
8.3.20.0080.00020.33
8.3.10.0040.00420.48
8.3.00.0150.00017.80
8.2.180.0040.01118.41
8.2.170.0140.00422.96
8.2.160.0070.00720.38
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0050.00322.14
8.2.110.0090.00020.23
8.2.100.0040.00818.03
8.2.90.0000.00919.08
8.2.80.0040.00417.97
8.2.70.0040.00417.47
8.2.60.0030.00517.55
8.2.50.0030.00518.07
8.2.40.0030.00518.05
8.2.30.0070.00319.29
8.2.20.0050.00317.70
8.2.10.0030.00518.10
8.2.00.0070.00017.80
8.1.280.0100.01025.92
8.1.270.0100.00623.79
8.1.260.0020.00526.35
8.1.250.0050.00228.09
8.1.240.0040.00423.69
8.1.230.0000.01119.00
8.1.220.0050.00317.78
8.1.210.0040.00418.77
8.1.200.0100.00017.23
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0040.00418.57
8.1.160.0020.00522.02
8.1.150.0030.00318.82
8.1.140.0040.00417.30
8.1.130.0030.00317.71
8.1.120.0030.00317.30
8.1.110.0000.00817.41
8.1.100.0000.00817.41
8.1.90.0030.00317.38
8.1.80.0070.00017.40
8.1.70.0040.00417.30
8.1.60.0040.00417.43
8.1.50.0040.00417.52
8.1.40.0040.00417.50
8.1.30.0040.00417.57
8.1.20.0040.00417.61
8.1.10.0000.00717.38
8.1.00.0040.00417.47
8.0.300.0050.00318.77
8.0.290.0040.00416.63
8.0.280.0030.00318.44
8.0.270.0030.00317.25
8.0.260.0000.00617.27
8.0.250.0000.00716.92
8.0.240.0060.00016.86
8.0.230.0020.00516.95
8.0.220.0040.00416.84
8.0.210.0000.00716.79
8.0.200.0030.00316.89
8.0.190.0050.00316.97
8.0.180.0000.00816.96
8.0.170.0000.00816.93
8.0.160.0000.00816.75
8.0.150.0040.00416.79
8.0.140.0040.00416.89
8.0.130.0000.00613.39
8.0.120.0060.00316.77
8.0.110.0070.00016.89
8.0.100.0000.00816.71
8.0.90.0000.00716.95
8.0.80.0150.00016.86
8.0.70.0020.00516.97
8.0.60.0050.00316.75
8.0.50.0080.00016.91
8.0.30.0080.01216.95
8.0.20.0090.00917.40
8.0.10.0040.00416.93
8.0.00.0110.00616.76
7.4.330.0050.00015.03
7.4.320.0060.00016.55
7.4.300.0030.00316.50
7.4.290.0040.00416.50
7.4.280.0000.00816.47
7.4.270.0030.00316.66
7.4.260.0040.00416.40
7.4.250.0070.00016.40
7.4.240.0030.00316.54
7.4.230.0030.00316.59
7.4.220.0100.01016.52
7.4.210.0000.01516.61
7.4.200.0030.00316.60
7.4.160.0250.01816.66
7.4.150.0110.00717.40
7.4.140.0070.01117.86
7.4.130.0110.00516.46
7.4.120.0070.01016.49
7.4.110.0060.00916.44
7.4.100.0130.00316.60
7.4.90.0140.00316.74
7.4.80.0060.01216.38
7.4.70.0060.01016.54
7.4.60.0070.01016.38
7.4.50.0090.00016.66
7.4.40.0080.00816.53
7.4.30.0000.01616.59
7.4.00.0050.00814.92
7.3.330.0000.00513.31
7.3.320.0000.00613.18
7.3.310.0030.00316.21
7.3.300.0000.00716.25
7.3.290.0040.01216.31
7.3.280.0070.01016.29
7.3.270.0000.01817.40
7.3.260.0100.00716.61
7.3.250.0120.00616.60
7.3.240.0030.01416.66
7.3.230.0100.00616.39
7.3.210.0060.01316.70
7.3.200.0100.00619.39
7.3.190.0070.01316.43
7.3.180.0120.00916.24
7.3.170.0060.01116.54
7.3.160.0060.00916.61
7.2.330.0110.00816.63
7.2.320.0130.00316.52
7.2.310.0100.00716.61
7.2.300.0100.01316.27
7.2.290.0070.01416.55
7.2.00.0070.01318.82
7.1.100.0640.01017.78
7.1.70.0120.00017.14
7.1.60.0070.01719.32
7.1.50.0040.01816.96
7.1.00.0070.06722.28
7.0.200.0060.00316.47
7.0.140.0100.06722.12
7.0.60.0100.07319.95
7.0.50.0130.06017.87
7.0.40.0000.05020.11
7.0.30.0330.07020.11
7.0.20.0300.04020.32
7.0.10.0070.08720.23
7.0.00.0030.07020.16
5.6.280.0000.07720.93
5.6.210.0170.04320.75
5.6.200.0000.04318.12
5.6.190.0070.08720.47
5.6.180.0400.08720.39
5.6.170.0300.06720.51
5.6.160.0100.08020.48
5.6.150.0130.07318.19
5.6.140.0070.08018.28
5.6.130.0000.04318.16
5.6.120.0000.04721.05
5.6.110.0100.05721.10
5.6.100.0100.08021.14
5.6.90.0100.07321.08
5.6.80.0100.07720.41
5.6.70.3470.03020.38
5.5.350.0200.06720.42
5.5.340.0100.06718.05
5.5.330.0030.04320.56
5.5.320.0330.07720.22
5.5.310.0270.07020.36
5.5.300.0000.09017.98
5.5.290.0030.04017.99
5.5.280.0070.04320.98
5.5.270.0130.08320.64
5.5.260.0070.04020.68
5.5.250.0100.08020.69
5.5.240.0230.03720.26
5.4.450.0330.05719.31
5.4.440.0700.06319.58
5.4.430.0830.04719.46
5.4.420.0870.07319.61
5.4.410.1000.05719.45
5.4.400.0870.06019.29
5.4.390.0700.05719.05
5.4.380.0300.05318.53
5.4.370.0270.06018.50
5.4.360.0300.05318.72
5.4.350.0470.06018.59
5.4.340.0370.05018.61
5.4.320.0040.03812.50
5.4.310.0070.03812.50
5.4.300.0080.03412.50
5.4.290.0100.03812.50
5.4.280.0090.03412.40
5.4.270.0110.03412.40
5.4.260.0120.04212.40
5.4.250.0090.03612.40
5.4.240.0080.03412.40
5.4.230.0070.03812.39
5.4.220.0120.03212.39
5.4.210.0090.03512.39
5.4.200.0070.04012.39
5.4.190.0090.03612.38
5.4.180.0130.03212.38
5.4.170.0090.03312.39
5.4.160.0050.04012.39
5.4.150.0090.04612.38
5.4.140.0380.05512.07
5.4.130.0200.04212.06
5.4.120.0060.04412.01
5.4.110.0090.03712.01
5.4.100.0100.03512.01
5.4.90.0070.03912.01
5.4.80.0070.04412.02
5.4.70.0070.04012.01
5.4.60.0070.04112.01
5.4.50.0080.03512.01
5.4.40.0100.04512.00
5.4.30.0070.03612.00
5.4.20.0060.04211.99
5.4.10.0060.03911.99
5.4.00.0070.04511.48
5.3.290.0120.04312.80
5.3.280.0080.04312.71
5.3.270.0120.03812.73
5.3.260.0070.04512.72
5.3.250.0030.04012.72
5.3.240.0050.03812.72
5.3.230.0070.05212.71
5.3.220.0070.03712.68
5.3.210.0070.04612.68
5.3.200.0050.03712.68
5.3.190.0060.04312.68
5.3.180.0080.03512.67
5.3.170.0060.04012.67
5.3.160.0100.03312.68
5.3.150.0080.04312.67
5.3.140.0000.04212.66
5.3.130.0080.04912.66
5.3.120.0080.04212.66
5.3.110.0090.03812.66
5.3.100.0090.03412.12
5.3.90.0040.03712.10
5.3.80.0060.04812.09
5.3.70.0070.04212.09
5.3.60.0080.03812.08
5.3.50.0050.03612.02
5.3.40.0060.04112.03
5.3.30.0040.04411.98
5.3.20.0060.03611.76
5.3.10.0100.03311.73
5.3.00.0070.03711.71
5.2.170.0030.0419.22
5.2.160.0080.0349.22
5.2.150.0060.0409.22
5.2.140.0060.0369.21
5.2.130.0080.0289.18
5.2.120.0030.0369.18
5.2.110.0060.0399.18
5.2.100.0060.0299.17
5.2.90.0070.0299.18
5.2.80.0060.0389.17
5.2.70.0050.0289.16
5.2.60.0050.0349.13
5.2.50.0020.0349.09
5.2.40.0080.0289.07
5.2.30.0070.0319.04
5.2.20.0040.0349.03
5.2.10.0070.0328.94
5.2.00.0050.0298.80
5.1.60.0030.0288.09
5.1.50.0030.0308.08
5.1.40.0070.0328.06
5.1.30.0060.0308.41
5.1.20.0040.0268.44
5.1.10.0050.0258.16
5.1.00.0040.0268.16
5.0.50.0040.0206.64
5.0.40.0050.0246.50
5.0.30.0070.0356.32
5.0.20.0040.0206.28
5.0.10.0040.0216.26
5.0.00.0060.0296.25
4.4.90.0030.0184.77
4.4.80.0070.0184.75
4.4.70.0040.0204.75
4.4.60.0030.0214.75
4.4.50.0050.0204.77
4.4.40.0020.0314.71
4.4.30.0050.0134.75
4.4.20.0040.0144.84
4.4.10.0020.0164.85
4.4.00.0030.0274.75
4.3.110.0060.0204.67
4.3.100.0050.0174.67
4.3.90.0040.0144.63
4.3.80.0010.0314.58
4.3.70.0050.0124.63
4.3.60.0040.0144.63
4.3.50.0030.0154.63
4.3.40.0030.0244.54
4.3.30.0020.0163.30
4.3.20.0010.0173.27
4.3.10.0020.0163.24
4.3.00.0000.0237.56

preferences:
47.19 ms | 401 KiB | 5 Q