3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/https?.*\/(.+??P<staff>)\.json/', 'https://stg-pos-connect.toreta.in/externals/restaurandsdfs/sd--sft/_staffs/XH1R7UMxkMTuwEciE_8Y8--PNMT0OiSGYCwKrZM0G-E.json', $test); var_dump($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.60.0110.00716.63
8.3.50.0180.00016.49
8.3.40.0040.01118.63
8.3.30.0110.00418.71
8.3.20.0040.00420.20
8.3.10.0060.00321.73
8.3.00.0070.00022.05
8.2.180.0160.00616.50
8.2.170.0130.00322.96
8.2.160.0110.00418.77
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00419.27
8.2.120.0080.00026.35
8.2.110.0040.00720.97
8.2.100.0040.00817.91
8.2.90.0040.00419.09
8.2.80.0050.00317.97
8.2.70.0060.00317.63
8.2.60.0040.00417.68
8.2.50.0000.00818.10
8.2.40.0000.00820.58
8.2.30.0080.00020.80
8.2.20.0000.00718.04
8.2.10.0000.00817.98
8.2.00.0070.00018.05
8.1.280.0070.01025.92
8.1.270.0070.00022.19
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00422.02
8.1.230.0060.00619.00
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0040.00417.10
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0080.00020.75
8.1.160.0080.00019.01
8.1.150.0030.00620.61
8.1.140.0040.00419.40
8.1.130.0070.00018.73
8.1.120.0090.00017.25
8.1.110.0040.00417.16
8.1.100.0040.00417.24
8.1.90.0000.00717.29
8.1.80.0050.00217.39
8.1.70.0000.00717.31
8.1.60.0000.00817.35
8.1.50.0040.00417.39
8.1.40.0000.00817.32
8.1.30.0050.00317.51
8.1.20.0060.00617.43
8.1.10.0080.00017.43
8.1.00.0000.00717.36
8.0.300.0000.00818.77
8.0.290.0040.00416.58
8.0.280.0030.00318.31
8.0.270.0040.00417.19
8.0.260.0030.00316.76
8.0.250.0030.00316.79
8.0.240.0000.00716.77
8.0.230.0000.00716.80
8.0.220.0020.00516.82
8.0.210.0030.00316.71
8.0.200.0000.00616.91
8.0.190.0000.00716.78
8.0.180.0070.00016.79
8.0.170.0040.00416.89
8.0.160.0000.00716.83
8.0.150.0080.00016.73
8.0.140.0000.00716.81
8.0.130.0000.00513.26
8.0.120.0000.00716.75
8.0.110.0070.00016.75
8.0.100.0050.00316.70
8.0.90.0040.00416.73
8.0.80.0070.01416.89
8.0.70.0030.00516.77
8.0.60.0040.00416.95
8.0.50.0050.00216.87
8.0.30.0100.00916.97
8.0.20.0110.01117.40
8.0.10.0000.00716.84
8.0.00.0030.01316.85
7.4.330.0020.00215.55
7.4.320.0030.00316.59
7.4.300.0030.00316.47
7.4.290.0060.00316.61
7.4.280.0040.00416.45
7.4.270.0000.00616.46
7.4.260.0030.00316.43
7.4.250.0030.00516.40
7.4.240.0050.00216.59
7.4.230.0040.00416.44
7.4.220.0100.00716.64
7.4.210.0000.01416.40
7.4.200.0070.00016.53
7.4.160.0090.00716.55
7.4.150.0090.00917.40
7.4.140.0090.01317.86
7.4.130.0100.01016.57
7.4.120.0090.01016.47
7.4.110.0100.00616.42
7.4.100.0100.00616.62
7.4.90.0140.00316.35
7.4.80.0140.00719.39
7.4.70.0030.01216.44
7.4.60.0000.01516.40
7.4.50.0100.00316.59
7.4.40.0120.00316.48
7.4.30.0180.00316.37
7.4.00.0080.00814.85
7.3.330.0000.00613.26
7.3.320.0000.00613.11
7.3.310.0000.00616.09
7.3.300.0040.00416.25
7.3.290.0090.00516.22
7.3.280.0060.01016.25
7.3.270.0090.00917.40
7.3.260.0130.00316.32
7.3.250.0120.00916.34
7.3.240.0040.01416.34
7.3.230.0000.01716.50
7.3.210.0100.00616.16
7.3.200.0030.01316.21
7.3.190.0070.01416.16
7.3.180.0030.01416.54
7.3.170.0090.00916.26
7.3.160.0100.01016.59
7.3.120.0070.01414.68
7.3.110.0070.00714.40
7.3.100.0000.01614.69
7.3.90.0000.01614.68
7.3.80.0100.00014.73
7.3.70.0130.00014.75
7.3.60.0060.00914.58
7.3.50.0100.00714.60
7.3.40.0100.00714.70
7.3.30.0000.00914.88
7.3.20.0100.00316.55
7.3.10.0140.00416.49
7.3.00.0130.00316.37
7.2.330.0060.01116.50
7.2.320.0040.01416.57
7.2.310.0100.00716.18
7.2.300.0100.00716.50
7.2.290.0130.01016.41
7.2.250.0000.01915.07
7.2.240.0130.00314.70
7.2.230.0110.00414.95
7.2.220.0080.00414.55
7.2.210.0060.00614.51
7.2.200.0000.01414.86
7.2.190.0120.00314.63
7.2.180.0060.01014.59
7.2.170.0030.01015.07
7.2.130.0160.00416.24
7.2.120.0110.00416.36
7.2.110.0050.01016.25
7.2.100.0090.00616.56
7.2.90.0080.00816.80
7.2.80.0190.00016.26
7.2.70.0110.00716.57
7.2.60.0090.00516.54
7.2.50.0000.01516.42
7.2.40.0180.00416.37
7.2.30.0240.00316.39
7.2.20.0110.00416.46
7.2.10.0120.00616.45
7.2.00.0030.01117.85
7.1.330.0090.00615.71
7.1.320.0030.00615.86
7.1.310.0060.00615.64
7.1.300.0040.00715.74
7.1.290.0030.01315.80
7.1.280.0000.01215.77
7.1.270.0000.01315.54
7.1.260.0000.01415.77
7.1.250.0110.00615.41
7.1.200.0030.00315.66
7.1.100.0070.00318.30
7.1.70.0060.01217.11
7.1.60.0270.00335.05
7.1.50.0150.01634.72
7.1.40.0160.01334.37
7.1.30.0180.00934.40
7.1.20.0100.01634.52
7.1.10.0030.01516.56
7.1.00.0040.01116.70
7.0.200.0060.00716.68
7.0.190.0040.00916.40
7.0.180.0000.01216.16
7.0.170.0060.00616.16
7.0.160.0120.00016.18
7.0.150.0000.01816.25
7.0.140.0030.01016.18
7.0.130.0090.01116.40
7.0.120.0130.00616.53
7.0.110.0000.01316.33
7.0.100.0000.01216.23
7.0.90.0060.00616.39
7.0.80.0090.00416.42
7.0.70.0060.00616.34
7.0.60.0030.01216.21
7.0.50.0000.01316.28
7.0.40.0070.00916.47
7.0.30.0070.01016.42
7.0.20.0090.00916.68
7.0.10.0070.01016.35
7.0.00.0070.01016.51

preferences:
48.87 ms | 400 KiB | 5 Q