3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* * Concats string values string1 and string2 * opcode number: 8 */ $sql = 'SELECT * FROM employee'; $sqlConditions = array('employee_id' =>145 ,'date_started' >= 7/7/14); echo "ANSWER:" . $sql . $sqlConditions; ?>

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.00716.73
8.3.50.0140.00520.98
8.3.40.0090.00618.85
8.3.30.0090.00918.55
8.3.20.0000.00720.16
8.3.10.0000.00821.77
8.3.00.0080.00022.27
8.2.180.0140.00716.63
8.2.170.0140.00022.96
8.2.160.0130.00019.20
8.2.150.0040.00424.18
8.2.140.0050.00224.66
8.2.130.0070.00022.25
8.2.120.0070.00026.35
8.2.110.0030.00620.54
8.2.100.0080.00417.78
8.2.90.0040.00419.23
8.2.80.0060.00318.03
8.2.70.0000.00917.50
8.2.60.0040.00419.64
8.2.50.0090.00018.12
8.2.40.0070.00020.60
8.2.30.0000.00719.17
8.2.20.0050.00317.54
8.2.10.0000.00718.02
8.2.00.0030.00617.58
8.1.280.0100.01025.92
8.1.270.0000.00923.91
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0060.00322.81
8.1.230.0000.01117.70
8.1.220.0000.00817.76
8.1.210.0000.00918.77
8.1.200.0040.00417.22
8.1.190.0040.00417.35
8.1.180.0060.00318.10
8.1.170.0040.00418.51
8.1.160.0040.00422.07
8.1.150.0000.00718.81
8.1.140.0080.00019.54
8.1.130.0030.00317.73
8.1.120.0000.00717.30
8.1.110.0040.00417.27
8.1.100.0100.00017.41
8.1.90.0060.00317.42
8.1.80.0030.00317.38
8.1.70.0040.00417.40
8.1.60.0030.00517.51
8.1.50.0060.00317.39
8.1.40.0040.00417.36
8.1.30.0060.00317.54
8.1.20.0040.00417.54
8.1.10.0040.00417.49
8.1.00.0000.00817.32
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.43
8.0.270.0000.00717.25
8.0.260.0070.00017.32
8.0.250.0000.00716.92
8.0.240.0030.00516.96
8.0.230.0030.00316.93
8.0.220.0000.00616.98
8.0.210.0040.00416.82
8.0.200.0030.00317.04
8.0.190.0040.00416.87
8.0.180.0040.00416.89
8.0.170.0070.00017.02
8.0.160.0030.00517.00
8.0.150.0040.00416.96
8.0.140.0040.00416.85
8.0.130.0030.00313.35
8.0.120.0050.00316.89
8.0.110.0040.00416.93
8.0.100.0050.00216.85
8.0.90.0050.00316.92
8.0.80.0140.00016.92
8.0.70.0000.00716.79
8.0.60.0040.00416.89
8.0.50.0050.00316.81
8.0.30.0120.00817.06
8.0.20.0090.00917.40
8.0.10.0070.00017.06
8.0.00.0040.01416.84
7.4.330.0020.00216.76
7.4.320.0000.00616.55
7.4.300.0000.00616.39
7.4.290.0030.00316.63
7.4.280.0040.00416.39
7.4.270.0000.00716.57
7.4.260.0000.00916.53
7.4.250.0030.00316.43
7.4.240.0040.00416.70
7.4.230.0030.00316.54
7.4.220.0140.00516.43
7.4.210.0130.00316.56
7.4.200.0000.00716.33
7.4.160.0070.01016.37
7.4.150.0140.00317.40
7.4.140.0140.00617.86
7.4.130.0110.00716.39
7.4.120.0080.00916.52
7.4.110.0060.01516.45
7.4.100.0070.01116.46
7.4.90.0100.00716.34
7.4.80.0090.00919.39
7.4.70.0090.00916.55
7.4.60.0100.00616.35
7.4.50.0060.01016.53
7.4.40.0030.01316.57
7.4.30.0100.00716.44
7.4.00.0060.00914.93
7.3.330.0030.00313.13
7.3.320.0050.00012.98
7.3.310.0070.00016.11
7.3.300.0030.00316.15
7.3.290.0070.00716.24
7.3.280.0110.00916.24
7.3.270.0090.00617.40
7.3.260.0120.00616.36
7.3.250.0110.00716.30
7.3.240.0070.01216.28
7.3.230.0030.01316.39
7.3.210.0030.01316.46
7.3.200.0090.00616.23
7.3.190.0130.00316.30
7.3.180.0000.01516.41
7.3.170.0090.00916.29
7.3.160.0130.00316.50
7.2.330.0170.00016.20
7.2.320.0080.00816.52
7.2.310.0030.01516.29
7.2.300.0070.01216.45
7.2.290.0070.01016.36
7.2.60.0060.01016.72
7.1.200.0000.00715.73
7.1.70.0090.00317.07
7.1.60.0000.01317.23
7.1.00.0030.07322.48
7.0.200.0190.00314.94
7.0.110.0030.06719.89
7.0.100.0100.06319.88
7.0.90.0330.05019.97
7.0.80.0100.07319.93
7.0.70.0030.06019.82
7.0.60.0130.07320.01
7.0.50.0130.05320.33
7.0.40.0130.05020.34
7.0.30.0170.06020.34
7.0.20.0330.06020.34
7.0.10.0300.05720.45
7.0.00.0670.05720.30
5.6.260.0030.06320.88
5.6.250.0100.06020.61
5.6.240.0130.06720.69
5.6.230.0130.08020.46
5.6.220.0070.06020.60
5.6.210.0270.06320.66
5.6.200.0200.06020.98
5.6.190.0230.06721.10
5.6.180.0170.05021.02
5.6.170.0200.05021.07
5.6.160.0130.05321.07
5.6.150.0000.06721.21
5.6.140.0130.05320.94
5.6.130.0000.06721.14
5.6.120.0070.06321.18
5.6.110.0100.06721.06
5.6.100.0170.07721.21
5.6.90.0070.06321.11
5.6.80.0130.05020.56
5.6.70.0030.06020.45
5.6.60.0130.05020.40
5.6.50.0100.05320.59
5.6.40.0070.05720.43
5.6.30.0030.05720.54
5.6.20.0100.06320.44
5.6.10.0030.05720.27
5.6.00.0130.05320.42

preferences:
50.32 ms | 401 KiB | 5 Q