3v4l.org

run code in 300+ PHP versions simultaneously
<?php $search_term = 'test';//mysql_real_escape_string($_POST["search_box"]); $cols = ['First_Name', 'Last_Name', 'Phone', 'Email', 'Address']; echo($search_term);

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.0040.01118.39
8.3.50.0120.00316.26
8.3.40.0160.00618.67
8.3.30.0130.00318.60
8.3.20.0000.00720.30
8.3.10.0040.00423.69
8.3.00.0080.00019.79
8.2.180.0150.00316.50
8.2.170.0140.00022.96
8.2.160.0070.00720.35
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0030.00617.50
8.2.110.0100.00022.05
8.2.100.0040.00819.36
8.2.90.0030.00519.18
8.2.80.0050.00317.97
8.2.70.0000.00817.38
8.2.60.0000.00817.93
8.2.50.0060.00318.07
8.2.40.0060.00319.35
8.2.30.0050.00319.81
8.2.20.0030.00517.64
8.2.10.0000.00717.92
8.2.00.0000.00717.96
8.1.280.0170.00325.92
8.1.270.0050.00520.25
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00322.66
8.1.230.0090.00617.42
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0040.00417.22
8.1.190.0030.00617.22
8.1.180.0070.00018.10
8.1.170.0040.00418.57
8.1.160.0000.00721.98
8.1.150.0000.00718.79
8.1.140.0000.00817.30
8.1.130.0000.00817.61
8.1.120.0030.00417.28
8.1.110.0040.00417.36
8.1.100.0040.00417.26
8.1.90.0040.00417.41
8.1.80.0000.00717.27
8.1.70.0030.00317.37
8.1.60.0000.00717.40
8.1.50.0040.00417.47
8.1.40.0080.00017.26
8.1.30.0050.00317.57
8.1.20.0070.00017.40
8.1.10.0050.00217.38
8.1.00.0040.00417.29
8.0.300.0070.00318.77
8.0.290.0060.00316.75
8.0.280.0040.00418.43
8.0.270.0000.00717.23
8.0.260.0060.00317.22
8.0.250.0050.00216.82
8.0.240.0040.00416.94
8.0.230.0030.00516.86
8.0.220.0040.00416.78
8.0.210.0040.00316.74
8.0.200.0030.00316.80
8.0.190.0080.00016.86
8.0.180.0060.00316.83
8.0.170.0000.00816.73
8.0.160.0030.00616.72
8.0.150.0060.00316.77
8.0.140.0000.00716.60
8.0.130.0070.00013.20
8.0.120.0040.00416.78
8.0.110.0000.00716.86
8.0.100.0000.00716.77
8.0.90.0000.00716.80
8.0.80.0070.01116.86
8.0.70.0030.00516.67
8.0.60.0040.00416.88
8.0.50.0040.00416.85
8.0.30.0120.00717.20
8.0.20.0140.00617.40
8.0.10.0040.00416.83
8.0.00.0080.01016.58
7.4.330.0000.00515.09
7.4.320.0030.00316.52
7.4.300.0030.00316.56
7.4.290.0000.01016.54
7.4.280.0000.00816.41
7.4.270.0000.00616.43
7.4.260.0000.00716.41
7.4.250.0040.00416.49
7.4.240.0020.00516.38
7.4.230.0030.00316.17
7.4.220.0070.01016.52
7.4.210.0110.00516.44
7.4.200.0000.00716.35
7.4.160.0110.00416.44
7.4.150.0110.00717.40
7.4.140.0090.01117.86
7.4.130.0080.01216.45
7.4.120.0090.00916.38
7.4.110.0190.00316.26
7.4.100.0170.00016.30
7.4.90.0080.00816.31
7.4.80.0130.00319.39
7.4.70.0070.01016.46
7.4.60.0130.00316.39
7.4.50.0030.00316.42
7.4.40.0090.01216.43
7.4.30.0080.01116.39
7.4.00.0030.01414.62
7.3.330.0030.00313.03
7.3.320.0000.00513.11
7.3.310.0030.00316.23
7.3.300.0030.00316.10
7.3.290.0000.00616.04
7.3.280.0080.00916.17
7.3.270.0100.01317.40
7.3.260.0110.00816.49
7.3.250.0080.01016.31
7.3.240.0100.01016.38
7.3.230.0100.01216.39
7.3.210.0070.01016.04
7.3.200.0100.01016.30
7.3.190.0050.01516.36
7.3.180.0100.01316.34
7.3.170.0090.00616.27
7.3.160.0150.00416.21
7.3.10.0160.00315.81
7.3.00.0170.00516.17
7.2.330.0140.00716.48
7.2.320.0060.00916.56
7.2.310.0130.00416.24
7.2.300.0110.01516.14
7.2.290.0100.01316.57
7.2.130.0100.01316.24
7.2.120.0040.01216.55
7.2.110.0100.00716.20
7.2.100.0090.00416.54
7.2.90.0100.01016.52
7.2.80.0080.00416.93
7.2.70.0120.00316.40
7.2.60.0100.00616.25
7.2.50.0090.00616.52
7.2.40.0130.00316.70
7.2.30.0070.00716.50
7.2.20.0100.00716.80
7.2.10.0040.01116.62
7.2.00.0110.00717.89
7.1.250.0170.00715.12
7.1.100.0040.00718.20
7.1.70.0090.00616.82
7.1.60.0030.01619.12
7.1.50.0140.00716.83
7.1.00.0100.06722.57
7.0.200.0040.00716.56
7.0.60.0100.08019.91
7.0.50.0070.08017.88
7.0.40.0000.05320.27
7.0.30.0530.06020.02
7.0.20.0270.05720.22
7.0.10.0030.08720.09
7.0.00.0000.05020.00
5.6.280.0000.03721.12
5.6.210.0100.07020.71
5.6.200.0000.08718.17
5.6.190.0030.08020.58
5.6.180.0300.03720.63
5.6.170.0300.03720.35
5.6.160.0070.08320.40
5.6.150.0100.04318.10
5.6.140.0000.05018.18
5.6.130.0030.04018.21
5.6.120.0030.09021.04
5.6.110.0170.08321.10
5.6.100.0030.06021.13
5.6.90.0100.04021.11
5.6.80.0070.04020.52
5.6.70.4400.04020.35
5.5.350.0100.08020.52
5.5.340.0070.05017.91
5.5.330.0130.07320.29
5.5.320.0270.07320.31
5.5.310.0270.06320.32
5.5.300.0030.05018.01
5.5.290.0070.07717.88
5.5.280.0130.05720.97
5.5.270.0170.07320.88
5.5.260.0130.07720.83
5.5.250.0130.07720.61
5.5.240.0070.07320.34
5.4.450.0670.05319.47
5.4.440.0630.05319.24
5.4.430.0700.04719.41
5.4.420.0730.06019.33
5.4.410.0630.05319.41
5.4.400.0630.05019.13
5.4.390.0630.06018.80
5.4.380.0900.04718.93
5.4.370.0930.06019.19
5.4.360.0770.05319.30
5.4.350.0800.04718.77
5.4.340.0800.06019.21
5.4.320.0730.06019.27
5.4.310.0800.05319.28
5.4.300.0870.04319.25
5.4.290.0730.07018.79
5.4.280.0870.05318.79
5.4.270.1070.04019.25
5.4.260.0700.06019.14
5.4.250.0730.05319.13
5.4.240.0700.05719.18
5.4.230.0830.04319.28
5.4.220.0770.05319.07
5.4.210.0770.07719.09
5.4.200.0930.04019.14
5.4.190.0600.06019.11
5.4.180.0870.04018.92
5.4.170.0730.05319.08
5.4.160.0700.05319.05
5.4.150.0870.04319.05
5.4.140.0730.05316.25
5.4.130.0630.04316.57
5.4.120.0830.04316.26
5.4.110.0700.05716.20
5.4.100.0770.04716.21
5.4.90.0830.05716.56
5.4.80.0630.05716.28
5.4.70.0300.04016.29
5.4.60.0200.03316.41
5.4.50.0030.03316.43
5.4.40.0000.04016.40
5.4.30.0030.07316.15
5.4.20.0030.05316.28

preferences:
57.74 ms | 400 KiB | 5 Q