3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '"res":"https://my.site.com/image/I/fj23l6j2lgk_AM1200_.jpg"'; echo preg_match('~(?<=^"res":")https://my\.site\.com/image/I/[a-zA-z\d]{11}_\w*_\.jpg(?="$)~', $string, $out) ? $out[0] : 'no match';

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.4.20.0040.01820.73
8.4.10.0030.00621.54
8.3.150.0070.00019.02
8.3.140.0090.00618.66
8.3.130.0060.00318.19
8.3.120.0030.00518.77
8.3.110.0130.00720.94
8.3.100.0080.00024.06
8.3.90.0030.00626.77
8.3.80.0060.00319.36
8.3.70.0100.01016.75
8.3.60.0120.00616.36
8.3.50.0150.00224.60
8.3.40.0070.00718.81
8.3.30.0160.00018.73
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0000.00826.16
8.2.270.0160.00317.36
8.2.260.0090.00616.69
8.2.250.0060.00316.96
8.2.240.0090.00019.07
8.2.230.0000.00822.58
8.2.220.0090.00037.54
8.2.210.0040.00726.77
8.2.200.0030.00518.88
8.2.190.0100.01017.00
8.2.180.0130.00325.92
8.2.170.0060.00919.08
8.2.160.0070.00722.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0090.00026.16
8.2.120.0070.00720.20
8.2.110.0000.01022.22
8.2.100.0090.00318.16
8.2.90.0050.00317.75
8.2.80.0000.00918.98
8.2.70.0050.00317.88
8.2.60.0060.00318.05
8.2.50.0050.00518.07
8.2.40.0000.00918.29
8.2.30.0080.00018.05
8.2.20.0070.00018.12
8.2.10.0040.00419.18
8.2.00.0020.00519.22
8.1.310.0110.00716.78
8.1.300.0040.00420.19
8.1.290.0090.00030.84
8.1.280.0090.01225.92
8.1.270.0050.00322.02
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00623.92
8.1.230.0070.00422.26
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0080.00017.25
8.1.180.0030.00618.10
8.1.170.0000.01118.57
8.1.160.0040.00418.75
8.1.150.0000.00718.81
8.1.140.0030.00618.80
8.1.130.0000.00717.53
8.1.120.0000.00717.52
8.1.110.0040.00417.55
8.1.100.0040.00417.55
8.1.90.0000.00717.49
8.1.80.0000.00817.38
8.1.70.0030.00317.54
8.1.60.0080.00017.68
8.1.50.0030.00617.66
8.1.40.0080.00017.63
8.1.30.0080.00017.74
8.1.20.0080.00017.64
8.1.10.0040.00417.64
8.1.00.0020.00517.74
8.0.300.0090.00018.77
8.0.290.0040.00417.00
8.0.280.0000.00718.46
8.0.270.0000.00718.14
8.0.260.0030.00316.96
8.0.250.0000.00717.13
8.0.240.0040.00416.97
8.0.230.0040.00417.00
8.0.220.0000.00716.99
8.0.210.0030.00516.97
8.0.200.0040.00416.97
8.0.190.0070.00016.98
8.0.180.0040.00416.90
8.0.170.0030.00617.00
8.0.160.0040.00416.89
8.0.150.0030.00516.93
8.0.140.0040.00416.90
8.0.130.0050.00013.43
8.0.120.0000.00817.01
8.0.110.0000.00816.93
8.0.100.0050.00217.01
8.0.90.0040.00417.04
8.0.80.0100.00416.93
8.0.70.0050.00217.06
8.0.60.0030.00617.09
8.0.50.0040.00416.91
8.0.30.0070.01116.92
8.0.20.0140.00717.11
8.0.10.0000.00717.06
8.0.00.0260.00017.03
7.4.330.0020.00215.55
7.4.320.0000.00616.54
7.4.300.0030.00316.67
7.4.290.0000.00616.66
7.4.280.0080.00316.76
7.4.270.0000.00716.51
7.4.260.0030.00313.38
7.4.250.0030.00316.68
7.4.240.0030.00316.63
7.4.230.0030.00616.82
7.4.220.0000.00716.72
7.4.210.0120.00616.73
7.4.200.0040.00416.50
7.4.130.0080.01116.63
7.4.120.0030.01516.71
7.4.110.0130.00316.53
7.4.100.0090.00916.78
7.4.90.0030.01416.64
7.4.80.0080.01119.39
7.4.70.0090.00916.19
7.4.60.0210.00316.66
7.4.50.0230.00316.65
7.4.40.0160.00916.67
7.4.30.0090.01216.60
7.4.20.0130.00916.69
7.4.10.0110.01416.61
7.4.00.0110.00716.82
7.3.330.0000.00716.23
7.3.320.0030.00213.10
7.3.310.0020.00516.45
7.3.300.0030.00316.26
7.3.290.0080.00516.34
7.3.260.0100.01016.34
7.3.230.0080.00816.30
7.3.210.0110.00516.32
7.3.200.0060.01816.37
7.3.190.0150.00316.75
7.3.180.0100.01016.54
7.3.170.0150.00916.79
7.3.160.0040.01816.41
7.3.150.0100.01016.70
7.3.140.0180.00916.56
7.3.130.0140.01116.61
7.3.120.0130.00716.41
7.3.110.0150.00516.71
7.3.100.0090.01216.38
7.3.90.0090.01216.63
7.3.80.0150.00816.71
7.3.70.0070.01116.28
7.3.60.0100.00816.51
7.3.50.0100.01016.47
7.3.40.0130.00616.45
7.3.30.0040.01816.47
7.3.20.0110.00916.19
7.3.10.0050.01516.42
7.3.00.0140.00816.45
7.2.330.0060.01216.68
7.2.320.0090.01316.74
7.2.310.0100.01016.70
7.2.300.0080.01916.63
7.2.290.0150.00616.66
7.2.280.0100.01016.70
7.2.270.0160.00816.54
7.2.260.0160.00716.64
7.2.250.0090.01816.50
7.2.240.0120.01216.79
7.2.230.0190.00716.54
7.2.220.0090.00916.55
7.2.210.0140.01016.71
7.2.200.0060.01316.56
7.2.190.0140.00316.45
7.2.180.0030.01716.59
7.2.170.0140.00316.71
7.2.160.0040.01216.71
7.2.150.0310.00616.56
7.2.140.0100.01116.60
7.2.130.0080.01216.63
7.2.120.0020.01616.66
7.2.110.0100.01016.69
7.2.100.0090.00916.75
7.2.90.0100.01016.59
7.2.80.0030.01716.64
7.2.70.0040.01316.68
7.2.60.0100.01616.78
7.2.50.0130.00616.65
7.2.40.0030.01416.74
7.2.30.0100.01116.45
7.2.20.0120.00816.60
7.2.10.0080.01216.42
7.2.00.0070.01416.41

preferences:
28.36 ms | 403 KiB | 5 Q