3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/https?.*\/(.+?)\.json/', 'https://stg-pos-connect.toreta.in/externals/restaurandsdfs/sd--sft/_staffs/XH1R7UMxkMTuwEciE_8Y8--PNMT0OiSGYCwKrZM0G-E.json', $test);

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.0040.01118.80
8.3.30.0000.01418.67
8.3.20.0020.00520.33
8.3.10.0000.00821.90
8.3.00.0070.00022.09
8.2.170.0060.00922.96
8.2.160.0070.00719.12
8.2.150.0000.00824.18
8.2.140.0030.00624.66
8.2.130.0050.00319.24
8.2.120.0080.00026.35
8.2.110.0030.00620.51
8.2.100.0070.00417.66
8.2.90.0000.00819.10
8.2.80.0050.00317.97
8.2.70.0040.00417.73
8.2.60.0060.00317.68
8.2.50.0000.00918.10
8.2.40.0000.00720.58
8.2.30.0060.00320.85
8.2.20.0030.00618.05
8.2.10.0070.00018.00
8.2.00.0040.00417.95
8.1.270.0080.00022.05
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00624.03
8.1.230.0070.00417.58
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0000.00917.23
8.1.180.0000.00718.10
8.1.170.0040.00418.58
8.1.160.0000.00719.03
8.1.150.0000.00720.45
8.1.140.0000.00719.52
8.1.130.0030.00318.78
8.1.120.0030.00617.42
8.1.110.0050.00317.48
8.1.100.0000.00817.39
8.1.90.0080.00017.44
8.1.80.0000.00717.50
8.1.70.0040.00417.50
8.1.60.0000.00817.45
8.1.50.0030.00517.55
8.1.40.0050.00317.55
8.1.30.0040.00417.52
8.1.20.0030.00717.64
8.1.10.0000.00917.55
8.1.00.0040.00417.50
8.0.300.0000.00718.77
8.0.290.0000.00816.63
8.0.280.0030.00318.33
8.0.270.0000.00817.09
8.0.260.0070.00016.88
8.0.250.0040.00416.84
8.0.240.0080.00016.91
8.0.230.0000.00716.83
8.0.220.0070.00016.79
8.0.210.0040.00416.79
8.0.200.0000.00616.84
8.0.190.0050.00316.86
8.0.180.0070.00016.95
8.0.170.0030.00316.95
8.0.160.0000.00816.88
8.0.150.0040.00416.85
8.0.140.0000.00816.86
8.0.130.0050.00013.24
8.0.120.0000.00716.89
8.0.110.0000.00716.77
8.0.100.0070.00016.83
8.0.90.0000.00816.92
8.0.80.0120.01216.85
8.0.70.0040.00417.01
8.0.60.0000.00816.95
8.0.50.0070.00016.96
8.0.30.0120.00617.02
8.0.20.0140.00717.41
8.0.10.0000.00717.01
8.0.00.0110.00616.80
7.4.330.0020.00215.55
7.4.320.0040.00416.57
7.4.300.0040.00416.57
7.4.290.0000.00816.64
7.4.280.0000.00716.48
7.4.270.0050.00316.50
7.4.260.0040.00416.49
7.4.250.0030.00516.59
7.4.240.0000.00716.61
7.4.230.0070.00016.75
7.4.220.0130.01316.65
7.4.210.0060.00816.53
7.4.200.0000.00716.61
7.4.160.0070.00916.59
7.4.150.0070.01117.40
7.4.140.0130.01017.86
7.4.130.0090.00916.81
7.4.120.0100.00816.61
7.4.110.0130.00316.52
7.4.100.0120.00816.61
7.4.90.0110.00716.57
7.4.80.0100.00719.39
7.4.70.0150.00616.55
7.4.60.0100.00616.44
7.4.50.0080.00416.51
7.4.40.0040.01216.56
7.4.30.0080.00916.62
7.4.00.0030.01415.15
7.3.330.0050.00013.14
7.3.320.0050.00013.19
7.3.310.0000.00716.10
7.3.300.0070.00016.30
7.3.290.0040.01016.33
7.3.280.0060.00916.27
7.3.270.0120.01217.40
7.3.260.0130.00916.51
7.3.250.0100.01016.39
7.3.240.0170.00316.40
7.3.230.0070.01316.26
7.3.210.0060.01016.57
7.3.200.0140.00316.49
7.3.190.0090.01316.34
7.3.180.0100.00716.29
7.3.170.0130.00316.56
7.3.160.0060.01016.51
7.2.330.0080.01116.40
7.2.320.0100.00616.68
7.2.310.0140.00416.45
7.2.300.0130.00316.64
7.2.290.0070.01716.65
7.2.60.0090.00616.52
7.2.00.0090.00619.08
7.1.200.0000.00915.52
7.1.100.0090.00318.38
7.1.70.0370.00315.23
7.1.60.0400.01333.30
7.1.50.0380.01633.16
7.1.40.0380.01432.77
7.1.30.0430.01332.73
7.1.20.0430.00732.90
7.1.10.0260.01314.90
7.1.00.0070.00716.81
7.0.200.0390.00314.99
7.0.190.0330.00714.88
7.0.180.0290.00614.38
7.0.170.0280.00914.71
7.0.160.0310.00614.54
7.0.150.0190.01314.52
7.0.140.0680.00716.66
7.0.130.0070.00716.54
7.0.120.0000.01416.76
7.0.110.0040.01116.51
7.0.100.0090.00816.39
7.0.90.0050.01016.39
7.0.80.0030.01316.40
7.0.70.0110.00616.31
7.0.60.0040.01116.38
7.0.50.0070.00716.53
7.0.40.0030.01016.63
7.0.30.0060.00616.51
7.0.20.0030.01016.58
7.0.10.0030.01016.48
7.0.00.0060.00916.59

preferences:
36.79 ms | 400 KiB | 5 Q