3v4l.org

run code in 300+ PHP versions simultaneously
<?php $qqlQueryOrMetric = " select * fro somethings"; $match = preg_match('/select.*from/', strtolower($qqlQueryOrMetric)); if ($match) { echo "yes"; } else { echo "no";}

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.0060.00918.22
8.3.50.0090.00917.83
8.3.40.0110.00418.80
8.3.30.0070.00718.85
8.3.20.0090.00920.34
8.3.10.0080.00018.66
8.3.00.0070.00723.66
8.2.180.0100.01018.54
8.2.170.0110.00422.96
8.2.160.0030.01020.39
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0070.00020.38
8.2.120.0080.00026.35
8.2.110.0000.01022.25
8.2.100.0120.00317.91
8.2.90.0000.00819.17
8.2.80.0080.00017.97
8.2.70.0030.00617.88
8.2.60.0080.00017.68
8.2.50.0000.00818.22
8.2.40.0000.00720.50
8.2.30.0000.00719.21
8.2.20.0000.00718.02
8.2.10.0000.00718.14
8.2.00.0000.00718.07
8.1.280.0000.01425.92
8.1.270.0070.00022.21
8.1.260.0060.00326.35
8.1.250.0150.00328.09
8.1.240.0080.00022.19
8.1.230.0110.00317.77
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0000.00917.13
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0030.00518.65
8.1.160.0050.00218.87
8.1.150.0070.00020.26
8.1.140.0050.00219.09
8.1.130.0000.00718.84
8.1.120.0040.00417.50
8.1.110.0030.00617.39
8.1.100.0050.00217.57
8.1.90.0020.00517.53
8.1.80.0080.00017.43
8.1.70.0000.00717.59
8.1.60.0070.00017.66
8.1.50.0000.00817.63
8.1.40.0050.00217.56
8.1.30.0030.00517.68
8.1.20.0050.00317.70
8.1.10.0040.00417.56
8.1.00.0060.00317.65
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0030.00318.55
8.0.270.0070.00017.32
8.0.260.0030.00318.88
8.0.250.0000.00717.03
8.0.240.0040.00416.96
8.0.230.0000.00717.00
8.0.220.0060.00316.98
8.0.210.0030.00316.98
8.0.200.0030.00317.03
8.0.190.0000.00816.95
8.0.180.0000.00816.89
8.0.170.0060.00416.88
8.0.160.0020.00517.03
8.0.150.0110.00016.98
8.0.140.0070.00016.90
8.0.130.0080.00013.33
8.0.120.0080.00016.94
8.0.110.0000.00716.87
8.0.100.0070.00017.07
8.0.90.0070.00016.95
8.0.80.0090.00616.97
8.0.70.0040.00416.95
8.0.60.0040.00416.83
8.0.50.0000.00716.99
8.0.30.0150.00516.99
8.0.20.0100.01117.40
8.0.10.0050.00216.95
8.0.00.0140.00416.85
7.4.330.0050.00015.55
7.4.320.0030.00316.61
7.4.300.0000.00616.70
7.4.290.0000.00716.73
7.4.280.0060.00016.71
7.4.270.0040.00416.69
7.4.260.0030.00516.72
7.4.250.0030.00316.75
7.4.240.0040.00416.55
7.4.230.0000.00816.55
7.4.220.0070.01116.68
7.4.210.0050.01116.73
7.4.200.0040.00416.84
7.4.160.0090.00716.57
7.4.150.0100.00717.40
7.4.140.0100.00917.86
7.4.130.0190.00616.56
7.4.120.0090.01116.56
7.4.110.0100.00616.82
7.4.100.0130.01016.55
7.4.90.0110.00616.58
7.4.80.0070.01419.39
7.4.70.0060.01616.44
7.4.60.0090.00916.80
7.4.50.0140.00316.70
7.4.40.0090.00916.76
7.4.30.0100.01316.78
7.4.00.0080.00415.13
7.3.330.0000.00513.14
7.3.320.0000.00513.07
7.3.310.0030.00316.35
7.3.300.0060.00016.32
7.3.290.0030.00316.30
7.3.280.0100.01016.26
7.3.270.0050.01417.40
7.3.260.0080.01016.43
7.3.250.0060.01416.52
7.3.240.0100.00716.42
7.3.230.0110.00716.19
7.3.210.0090.00916.34
7.3.200.0060.01016.26
7.3.190.0060.01016.49
7.3.180.0060.01616.34
7.3.170.0110.00616.48
7.3.160.0070.01416.17
7.2.330.0140.00316.66
7.2.320.0030.01716.82
7.2.310.0120.00616.76
7.2.300.0120.00616.75
7.2.290.0140.00416.50
7.2.110.0000.01516.86
7.2.60.0030.01017.07
7.2.00.0060.01219.77
7.1.200.0070.00715.79
7.1.120.0100.01018.75
7.1.110.0070.00718.40
7.1.100.0090.00418.47
7.1.90.0090.00918.51
7.1.80.0110.00718.03
7.1.70.0110.00717.07
7.1.60.0210.01735.02
7.1.50.0240.00734.82
7.1.40.0170.01434.44
7.1.30.0240.01434.19
7.1.20.0200.01034.42
7.1.10.0120.00316.72
7.1.00.0030.01216.75

preferences:
35.13 ms | 401 KiB | 5 Q