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; var_dump(is_numeric($term)); /* 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.0030.01718.31
8.3.50.0110.00822.05
8.3.40.0040.01118.62
8.3.30.0110.00418.47
8.3.20.0040.00420.32
8.3.10.0080.00020.41
8.3.00.0060.00323.53
8.2.180.0140.00416.50
8.2.170.0110.00322.96
8.2.160.0070.00722.14
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00021.18
8.2.120.0040.00426.35
8.2.110.0070.00319.18
8.2.100.0090.00317.80
8.2.90.0000.00818.97
8.2.80.0000.00817.97
8.2.70.0060.00317.49
8.2.60.0000.00817.80
8.2.50.0080.00018.09
8.2.40.0040.00420.26
8.2.30.0040.00419.45
8.2.20.0050.00217.72
8.2.10.0000.00818.15
8.2.00.0000.00718.22
8.1.280.0090.00625.92
8.1.270.0070.00722.19
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0040.00422.24
8.1.230.0080.00317.71
8.1.220.0030.00517.79
8.1.210.0000.00918.77
8.1.200.0040.00417.36
8.1.190.0000.00917.23
8.1.180.0000.00818.10
8.1.170.0060.00618.57
8.1.160.0040.00420.80
8.1.150.0000.00818.80
8.1.140.0000.00819.53
8.1.130.0070.00017.74
8.1.120.0040.00417.47
8.1.110.0070.00017.45
8.1.100.0000.00817.34
8.1.90.0030.00517.46
8.1.80.0020.00517.31
8.1.70.0040.00417.47
8.1.60.0000.00817.61
8.1.50.0050.00317.55
8.1.40.0050.00317.42
8.1.30.0000.00817.60
8.1.20.0000.00717.54
8.1.10.0000.00917.48
8.1.00.0030.00517.29
8.0.300.0040.00418.77
8.0.290.0030.00516.75
8.0.280.0070.00018.32
8.0.270.0040.00417.24
8.0.260.0000.00717.20
8.0.250.0070.00016.90
8.0.240.0040.00416.82
8.0.230.0000.00716.90
8.0.220.0070.00016.89
8.0.210.0040.00416.80
8.0.200.0030.00316.87
8.0.190.0040.00416.93
8.0.180.0000.00716.86
8.0.170.0000.00816.79
8.0.160.0000.00716.91
8.0.150.0000.00716.72
8.0.140.0040.00416.70
8.0.130.0060.00313.36
8.0.120.0050.00316.76
8.0.110.0030.00616.88
8.0.100.0040.00416.74
8.0.90.0040.00416.86
8.0.80.0210.00316.81
8.0.70.0040.00416.75
8.0.60.0070.00016.88
8.0.50.0000.00716.78
8.0.30.0110.00616.96
8.0.20.0120.00717.40
8.0.10.0000.00717.05
8.0.00.0080.01116.76
7.4.330.0050.00016.66
7.4.320.0000.00616.49
7.4.300.0000.00616.36
7.4.290.0030.00316.59
7.4.280.0000.00816.49
7.4.270.0070.00016.59
7.4.260.0070.00016.50
7.4.250.0070.00016.54
7.4.240.0030.00316.64
7.4.230.0040.00416.25
7.4.220.0220.00316.57
7.4.210.0090.00916.62
7.4.200.0000.00716.51
7.4.160.0090.00616.67
7.4.150.0110.00717.40
7.4.140.0110.00717.86
7.4.130.0050.01316.41
7.4.120.0090.00816.49
7.4.110.0120.00916.51
7.4.100.0060.01516.52
7.4.90.0070.01016.46
7.4.80.0150.00919.39
7.4.70.0060.00916.42
7.4.60.0110.00516.62
7.4.50.0060.01016.50
7.4.40.0060.01116.48
7.4.30.0090.01216.52
7.4.00.0030.01314.98
7.3.330.0030.00313.11
7.3.320.0030.00413.18
7.3.310.0050.00316.06
7.3.300.0000.00716.06
7.3.290.0030.00316.19
7.3.280.0080.00916.20
7.3.270.0150.00417.40
7.3.260.0170.00016.22
7.3.250.0110.00616.17
7.3.240.0080.01216.21
7.3.230.0150.00316.39
7.3.210.0150.00316.21
7.3.200.0030.01716.33
7.3.190.0030.01316.22
7.3.180.0060.01016.30
7.3.170.0120.00916.29
7.3.160.0060.00916.40
7.3.120.0050.01414.65
7.3.110.0100.00714.54
7.3.100.0060.00814.65
7.3.90.0080.00514.63
7.3.80.0080.00814.73
7.3.70.0050.00614.55
7.3.60.0060.00914.77
7.3.50.0070.00614.62
7.3.40.0050.00914.65
7.3.30.0050.00914.81
7.3.20.0040.00716.51
7.3.10.0000.01416.43
7.3.00.0050.00816.50
7.2.330.0070.01016.62
7.2.320.0040.01516.37
7.2.310.0000.01616.59
7.2.300.0090.01516.47
7.2.290.0100.00716.60
7.2.250.0050.01314.96
7.2.240.0030.01614.99
7.2.230.0070.00715.14
7.2.220.0050.00815.07
7.2.210.0050.00914.91
7.2.200.0050.00714.79
7.2.190.0080.00514.99
7.2.180.0040.00814.88
7.2.170.0030.01015.03
7.2.160.0040.01114.60
7.2.150.0060.00616.47
7.2.140.0090.00616.80
7.2.130.0060.00616.65
7.2.120.0030.01216.65
7.2.110.0090.00516.87
7.2.100.0050.00716.83
7.2.90.0030.01116.88
7.2.80.0050.00916.91
7.2.70.0060.00516.80
7.2.60.0020.00916.58
7.2.50.0040.00716.75
7.2.40.0060.00616.89
7.2.30.0100.00516.74
7.2.20.0040.01116.87
7.2.10.0090.00516.86
7.2.00.0010.01117.50
7.1.330.0040.01115.67
7.1.320.0060.00915.68
7.1.310.0050.00815.65
7.1.300.0070.00515.74
7.1.290.0040.01215.62
7.1.280.0040.01115.79
7.1.270.0020.00715.63
7.1.260.0040.01015.63
7.1.250.0020.01015.66
7.1.240.0090.00315.56
7.1.230.0060.00315.59
7.1.220.0000.01415.68
7.1.210.0070.00315.47
7.1.200.0040.00815.67
7.1.190.0040.00415.68
7.1.180.0070.00315.50
7.1.170.0060.00615.81
7.1.160.0040.00815.73
7.1.150.0000.00915.48
7.1.140.0130.00315.72
7.1.130.0110.00415.63
7.1.120.0100.00715.78
7.1.110.0100.00715.47
7.1.100.0100.00317.10
7.1.90.0000.01315.76
7.1.80.0070.00715.78
7.1.70.0030.00816.33
7.1.60.0110.00817.36
7.1.50.0130.00616.37
7.1.40.0060.00915.54
7.1.30.0100.00615.73
7.1.20.0070.00715.84
7.1.10.0040.01115.59
7.1.00.0030.04319.02
7.0.330.0100.00315.49
7.0.320.0090.00615.07
7.0.310.0100.00015.13
7.0.300.0080.00415.50
7.0.290.0070.01015.32
7.0.280.0100.00315.27
7.0.270.0040.01015.44
7.0.260.0060.00615.16
7.0.250.0040.01115.25
7.0.240.0070.00715.33
7.0.230.0030.01015.32
7.0.220.0040.01215.29
7.0.210.0080.00815.32
7.0.200.0690.00814.74
7.0.190.0030.01315.38
7.0.180.0070.00315.26
7.0.170.0030.00915.39
7.0.160.0080.00415.30
7.0.150.0040.00715.39
7.0.140.0070.00715.34
7.0.130.0030.01315.54
7.0.120.0060.01015.27
7.0.110.0040.01115.41
7.0.100.0030.03417.54
7.0.90.0130.04517.51
7.0.80.0100.04217.61
7.0.70.0080.04317.66
7.0.60.0100.02917.71
7.0.50.0150.03717.92
7.0.40.0050.04616.74
7.0.30.0040.03516.83
7.0.20.0070.04016.63
7.0.10.0010.02816.65
7.0.00.0020.04416.78
5.6.400.0060.00614.09
5.6.390.0070.00714.31
5.6.380.0030.00914.48
5.6.370.0090.00313.84
5.6.360.0090.00314.32
5.6.350.0080.00814.47
5.6.340.0000.01113.85
5.6.330.0060.00914.32
5.6.320.0130.00314.04
5.6.310.0100.00314.04
5.6.300.0070.00813.98
5.6.290.0000.01614.47
5.6.280.0050.03317.60
5.6.270.0000.01414.13
5.6.260.0060.00614.23
5.6.250.0140.03617.40
5.6.240.0070.03817.37
5.6.230.0050.05017.39
5.6.220.0090.02617.39
5.6.210.0100.02317.32
5.6.200.0070.04817.67
5.6.190.0100.02317.66
5.6.180.0050.02517.53
5.6.170.0100.03917.58
5.6.160.0050.04217.59
5.6.150.0050.04417.56
5.6.140.0050.03517.56
5.6.130.0060.02817.48
5.6.120.0050.03817.47
5.6.110.0100.03817.56
5.6.100.0100.04517.69
5.6.90.0130.04017.63
5.6.80.0050.03817.15
5.6.70.0050.02817.18
5.6.60.0080.03517.26
5.6.50.0120.03717.10
5.6.40.0080.03817.30
5.6.30.0100.02817.20
5.6.20.0090.03517.23
5.6.10.0100.03517.28
5.6.00.0050.04517.21
5.5.380.0070.04317.33
5.5.370.0050.02717.39
5.5.360.0080.04217.16
5.5.350.0080.04617.29
5.5.340.0050.02917.41
5.5.330.0060.04317.42
5.5.320.0080.04417.55
5.5.310.0080.04417.68
5.5.300.0070.03917.46
5.5.290.0060.03517.63
5.5.280.0060.04617.48
5.5.270.0110.02217.22
5.5.260.0050.02517.47
5.5.250.0050.04717.41
5.5.240.0080.04217.14
5.5.230.0020.03217.08
5.5.220.0100.04317.04
5.5.210.0030.04617.11
5.5.200.0080.03317.00
5.5.190.0050.04517.16
5.5.180.0110.02917.26
5.5.170.0000.01614.18
5.5.160.0000.04617.05
5.5.150.0070.04317.06
5.5.140.0120.03817.16
5.5.130.0080.03517.00
5.5.120.0090.03417.05
5.5.110.0080.03217.10
5.5.100.0040.03117.00
5.5.90.0060.04317.04
5.5.80.0100.03717.13
5.5.70.0050.04017.02
5.5.60.0020.03517.01
5.5.50.0010.04317.07
5.5.40.0100.04017.08
5.5.30.0130.03616.86
5.5.20.0080.03217.11
5.5.10.0080.03317.13
5.5.00.0030.04516.93

preferences:
36.3 ms | 401 KiB | 5 Q