3v4l.org

run code in 300+ PHP versions simultaneously
<?php $qqlQueryOrMetric = " * from somethings"; $match = preg_match('/select.*from/', strtolower($qqlQueryOrMetric)); if ($matches) { 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.40.0090.00618.90
8.3.30.0190.00318.92
8.3.20.0000.00820.30
8.3.10.0080.00019.05
8.3.00.0150.00023.65
8.2.170.0170.00322.96
8.2.160.0070.00720.53
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00420.34
8.2.120.0070.01126.35
8.2.110.0050.00522.16
8.2.100.0080.00318.09
8.2.90.0000.00919.17
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0030.00617.91
8.2.50.0040.00418.10
8.2.40.0070.00020.60
8.2.30.0000.00719.14
8.2.20.0050.00218.08
8.2.10.0000.00817.97
8.2.00.0080.00017.94
8.1.270.0080.00021.91
8.1.260.0080.00026.35
8.1.250.0110.00728.09
8.1.240.0040.00422.19
8.1.230.0080.00317.77
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0030.00617.38
8.1.190.0040.00417.48
8.1.180.0040.00418.10
8.1.170.0080.00018.62
8.1.160.0000.00718.84
8.1.150.0000.00720.27
8.1.140.0040.00419.04
8.1.130.0000.00718.85
8.1.120.0040.00417.51
8.1.110.0000.00917.41
8.1.100.0050.00317.43
8.1.90.0070.00017.41
8.1.80.0040.00417.42
8.1.70.0030.00517.49
8.1.60.0040.00417.62
8.1.50.0000.00717.59
8.1.40.0040.00417.50
8.1.30.0000.00817.69
8.1.20.0080.00017.69
8.1.10.0030.00517.64
8.1.00.0000.00717.59
8.0.300.0070.00018.77
8.0.290.0000.00717.00
8.0.280.0000.00718.43
8.0.270.0000.00717.32
8.0.260.0030.00318.85
8.0.250.0020.00517.09
8.0.240.0050.00217.04
8.0.230.0030.00316.98
8.0.220.0000.00816.96
8.0.210.0030.00317.04
8.0.200.0000.00716.95
8.0.190.0090.00017.06
8.0.180.0000.00717.06
8.0.170.0030.00616.94
8.0.160.0000.00716.98
8.0.150.0060.00316.79
8.0.140.0000.00817.06
8.0.130.0030.00313.41
8.0.120.0050.00316.97
8.0.110.0040.00417.05
8.0.100.0000.00816.87
8.0.90.0020.00517.14
8.0.80.0040.01116.95
8.0.70.0040.00417.04
8.0.60.0000.00716.91
8.0.50.0070.00016.88
8.0.30.0110.00917.31
8.0.20.0080.01117.40
8.0.10.0050.00217.04
8.0.00.0120.01217.14
7.4.330.0000.00415.55
7.4.320.0060.00016.71
7.4.300.0030.00316.66
7.4.290.0000.00816.57
7.4.280.0030.00316.54
7.4.270.0000.00716.63
7.4.260.0000.00916.59
7.4.250.0000.00816.74
7.4.240.0000.00716.79
7.4.230.0050.00316.84
7.4.220.0060.01016.61
7.4.210.0080.00816.81
7.4.200.0080.00016.48
7.4.160.0120.00816.70
7.4.150.0040.01517.40
7.4.140.0130.00917.86
7.4.130.0060.01216.62
7.4.120.0100.01116.68
7.4.110.0090.00916.66
7.4.100.0120.00616.61
7.4.90.0060.01216.61
7.4.80.0060.01219.39
7.4.70.0120.00916.63
7.4.60.0110.00416.67
7.4.50.0100.00616.54
7.4.40.0080.01116.56
7.4.30.0000.01616.54
7.4.00.0000.01815.02
7.3.330.0000.00513.08
7.3.320.0000.00513.03
7.3.310.0000.00716.42
7.3.300.0000.00716.33
7.3.290.0070.00016.24
7.3.280.0070.01016.35
7.3.270.0070.01017.40
7.3.260.0100.00916.48
7.3.250.0100.00716.46
7.3.240.0090.01016.48
7.3.230.0090.00916.49
7.3.210.0160.00316.54
7.3.200.0080.00816.65
7.3.190.0130.00616.56
7.3.180.0100.00716.70
7.3.170.0160.00016.46
7.3.160.0030.01816.21
7.2.330.0130.00916.70
7.2.320.0180.00616.82
7.2.310.0140.01016.68
7.2.300.0070.01016.48
7.2.290.0080.00816.76
7.2.110.0030.00916.72
7.2.60.0130.00016.82
7.2.00.0040.01119.65
7.1.200.0000.01215.67
7.1.120.0000.01818.87
7.1.110.0060.00618.13
7.1.100.0080.00418.02
7.1.90.0040.01118.24
7.1.80.0120.00618.41
7.1.70.0030.01017.43
7.1.60.0220.01035.09
7.1.50.0170.01034.59
7.1.40.0190.00934.23
7.1.30.0100.01734.33
7.1.20.0220.01634.42
7.1.10.0040.01116.56
7.1.00.0000.01316.89

preferences:
44.86 ms | 400 KiB | 5 Q