3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* $term= '1234'; $term= 'diego 1234'; $term= 'diego rodriguez'; */ $term= 'diego rodriguez 1234'; $terms=explode(' ',$term); var_dump(count($terms)); $where=" AND ("; $i=0; foreach ($terms as $value) { var_dump(is_numeric($value)); } /* foreach ($terms as $value) { if($i!=0) $where.=" AND "; $where.=" (firstname LIKE '%".$value."%' OR lastname LIKE '%".$value."%')"; $where.=" ) OR ci LIKE '%".$value."%'"; $where.=" OR nroanterior LIKE '%".$value."%'"; $i++; } var_dump($where); */

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.00718.56
8.3.50.0150.00018.04
8.3.40.0140.00018.71
8.3.30.0070.00718.54
8.3.20.0000.00720.35
8.3.10.0030.00620.48
8.3.00.0080.00021.60
8.2.180.0070.01016.50
8.2.170.0070.00722.96
8.2.160.0070.00722.30
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0040.00421.03
8.2.120.0080.00026.35
8.2.110.0030.00621.09
8.2.100.0090.00317.91
8.2.90.0080.00019.05
8.2.80.0040.00417.97
8.2.70.0060.00317.38
8.2.60.0070.00317.92
8.2.50.0080.00018.09
8.2.40.0030.00620.38
8.2.30.0070.00019.43
8.2.20.0000.00817.55
8.2.10.0070.00018.10
8.2.00.0050.00218.11
8.1.280.0040.01125.92
8.1.270.0160.00421.95
8.1.260.0080.00028.09
8.1.250.0070.00028.09
8.1.240.0040.00421.36
8.1.230.0070.00418.96
8.1.220.0060.00317.78
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0040.00417.00
8.1.180.0060.00318.10
8.1.170.0040.00918.41
8.1.160.0000.00720.80
8.1.150.0000.00718.76
8.1.140.0040.00419.57
8.1.130.0000.00717.70
8.1.120.0000.00817.51
8.1.110.0040.00417.36
8.1.100.0000.00717.34
8.1.90.0000.00817.38
8.1.80.0050.00217.39
8.1.70.0030.00317.51
8.1.60.0070.00017.54
8.1.50.0030.00517.52
8.1.40.0000.00817.41
8.1.30.0060.00317.68
8.1.20.0000.00717.41
8.1.10.0030.00617.39
8.1.00.0000.00817.27
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0040.00418.36
8.0.270.0070.00017.17
8.0.260.0000.00617.17
8.0.250.0000.00716.79
8.0.240.0040.00416.84
8.0.230.0040.00416.91
8.0.220.0080.00016.90
8.0.210.0000.00616.79
8.0.200.0000.00616.91
8.0.190.0050.00316.93
8.0.180.0000.00716.92
8.0.170.0030.00616.82
8.0.160.0000.00716.75
8.0.150.0000.00716.81
8.0.140.0040.00416.79
8.0.130.0000.00713.38
8.0.120.0030.00516.78
8.0.110.0030.00516.80
8.0.100.0050.00216.76
8.0.90.0030.00416.79
8.0.80.0070.01416.90
8.0.70.0050.00216.78
8.0.60.0040.00416.87
8.0.50.0070.00016.85
8.0.30.0080.01017.03
8.0.20.0140.00617.40
8.0.10.0040.00416.86
8.0.00.0090.01116.75
7.4.330.0000.00516.66
7.4.320.0030.00316.64
7.4.300.0060.00016.60
7.4.290.0000.00716.40
7.4.280.0040.00416.62
7.4.270.0030.00316.61
7.4.260.0040.00416.62
7.4.250.0020.00516.37
7.4.240.0030.00316.39
7.4.230.0050.00216.69
7.4.220.0070.01116.62
7.4.210.0070.00616.71
7.4.200.0000.00716.67
7.4.160.0070.00716.55
7.4.150.0060.01217.40
7.4.140.0120.01117.86
7.4.130.0090.01116.46
7.4.120.0130.00316.42
7.4.110.0100.01016.54
7.4.100.0090.00916.45
7.4.90.0100.00716.39
7.4.80.0120.00619.39
7.4.70.0080.01616.32
7.4.60.0100.00716.37
7.4.50.0070.00716.40
7.4.40.0110.01116.55
7.4.30.0140.00716.57
7.4.00.0070.00714.99
7.3.330.0060.00013.23
7.3.320.0000.00613.12
7.3.310.0080.00016.21
7.3.300.0000.00716.30
7.3.290.0000.00716.25
7.3.280.0100.00816.24
7.3.270.0070.01117.40
7.3.260.0150.00916.50
7.3.250.0100.00816.31
7.3.240.0090.00916.39
7.3.230.0030.01416.39
7.3.210.0060.01316.36
7.3.200.0100.00716.28
7.3.190.0090.00616.47
7.3.180.0080.00816.24
7.3.170.0030.01316.29
7.3.160.0110.00516.54
7.3.120.0000.01515.02
7.3.110.0060.01314.75
7.3.100.0030.01015.11
7.3.90.0090.00614.84
7.3.80.0060.00614.96
7.3.70.0040.00414.54
7.3.60.0040.00414.86
7.3.50.0000.01714.51
7.3.40.0000.01414.72
7.3.30.0040.00714.41
7.3.20.0080.00816.55
7.3.10.0030.01316.70
7.3.00.0070.00716.69
7.2.330.0130.00316.77
7.2.320.0110.00616.71
7.2.310.0190.00516.70
7.2.300.0110.01516.57
7.2.290.0110.01116.36
7.2.250.0080.00814.94
7.2.240.0100.00715.06
7.2.230.0040.00815.20
7.2.220.0030.00915.04
7.2.210.0070.00714.78
7.2.200.0030.00614.70
7.2.190.0070.00715.01
7.2.180.0120.00415.05
7.2.170.0030.01215.04
7.2.60.0070.00716.73
7.2.00.0000.01119.48
7.1.330.0060.01015.96
7.1.320.0070.00715.82
7.1.310.0130.00015.91
7.1.300.0030.01015.83
7.1.290.0060.01215.82
7.1.280.0000.01015.85
7.1.270.0060.01015.60
7.1.260.0050.00515.58
7.1.200.0090.00615.82
7.1.100.0000.01218.14
7.1.70.0060.00317.25
7.1.60.0130.01319.19
7.1.50.0100.00316.90
7.1.00.0070.07322.41
7.0.200.0790.00414.84
7.0.60.0100.08321.73
7.0.50.0100.03317.90
7.0.40.0100.05719.90
7.0.30.0270.07320.30
7.0.20.0200.05020.16
7.0.10.0030.04720.13
7.0.00.0100.05320.19
5.6.280.0000.03721.07
5.6.210.0030.07720.50
5.6.200.0070.06018.11
5.6.190.0030.09020.56
5.6.180.0370.05320.32
5.6.170.0270.04020.41
5.6.160.0000.05320.54
5.6.150.0100.07318.14
5.6.140.0030.04018.18
5.6.130.0170.05318.21
5.6.120.0000.04320.94
5.6.110.0200.07721.13
5.6.100.0030.06721.04
5.6.90.0070.08020.95
5.6.80.0070.07020.39
5.5.350.0330.06720.30
5.5.340.0000.05717.95
5.5.330.0130.03320.28
5.5.320.0530.06020.41
5.5.310.0230.08320.20
5.5.300.0000.08717.95
5.5.290.0070.08317.91
5.5.280.0100.06320.73
5.5.270.0130.08320.95
5.5.260.0170.03720.76
5.5.250.0200.06020.57
5.5.240.0000.07020.18

preferences:
81.07 ms | 401 KiB | 5 Q