3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/https?.*\/(.+?<: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.0130.00916.63
8.3.50.0140.00316.43
8.3.40.0000.01518.63
8.3.30.0090.00618.47
8.3.20.0030.00620.04
8.3.10.0000.00821.91
8.3.00.0000.00821.96
8.2.180.0180.00316.63
8.2.170.0040.01122.96
8.2.160.0140.00018.86
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00021.31
8.2.120.0050.00326.35
8.2.110.0040.00420.52
8.2.100.0110.00017.90
8.2.90.0040.00418.92
8.2.80.0030.00517.97
8.2.70.0030.00517.75
8.2.60.0000.00818.04
8.2.50.0050.00318.10
8.2.40.0030.00620.59
8.2.30.0030.00520.86
8.2.20.0040.00417.96
8.2.10.0040.00417.96
8.2.00.0000.00717.95
8.1.280.0140.00325.92
8.1.270.0050.00321.95
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00623.83
8.1.230.0000.01117.70
8.1.220.0000.01017.74
8.1.210.0040.00418.77
8.1.200.0030.00717.23
8.1.190.0000.00817.22
8.1.180.0080.00018.10
8.1.170.0050.00318.77
8.1.160.0040.00418.86
8.1.150.0040.00420.57
8.1.140.0000.00719.37
8.1.130.0000.00818.69
8.1.120.0000.01017.39
8.1.110.0080.00017.33
8.1.100.0030.00517.39
8.1.90.0000.00817.45
8.1.80.0040.00417.48
8.1.70.0000.00717.51
8.1.60.0000.00817.64
8.1.50.0030.00517.53
8.1.40.0040.00417.60
8.1.30.0000.00817.55
8.1.20.0000.01217.66
8.1.10.0000.00817.50
8.1.00.0000.00717.52
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0070.00018.39
8.0.270.0070.00017.09
8.0.260.0030.00316.82
8.0.250.0000.00716.90
8.0.240.0100.00017.04
8.0.230.0000.00717.02
8.0.220.0000.00716.90
8.0.210.0040.00416.82
8.0.200.0030.00317.04
8.0.190.0040.00416.93
8.0.180.0000.00716.79
8.0.170.0030.00316.87
8.0.160.0060.00316.80
8.0.150.0000.00716.71
8.0.140.0000.00816.95
8.0.130.0030.00313.33
8.0.120.0040.00416.77
8.0.110.0070.00016.74
8.0.100.0000.00716.90
8.0.90.0000.00716.86
8.0.80.0090.00616.87
8.0.70.0000.00716.84
8.0.60.0070.00016.91
8.0.50.0000.00716.86
8.0.30.0070.00917.10
8.0.20.0130.00817.40
8.0.10.0060.00317.07
8.0.00.0120.00616.89
7.4.330.0000.00615.55
7.4.320.0030.00316.54
7.4.300.0060.00016.67
7.4.290.0030.00616.71
7.4.280.0030.00616.66
7.4.270.0000.00716.74
7.4.260.0000.00716.59
7.4.250.0020.00516.62
7.4.240.0000.00716.54
7.4.230.0030.00316.39
7.4.220.0150.00316.68
7.4.210.0070.01416.71
7.4.200.0030.00316.80
7.4.160.0110.00516.51
7.4.150.0140.00517.40
7.4.140.0100.01117.86
7.4.130.0130.00616.46
7.4.120.0090.00916.51
7.4.110.0070.01016.63
7.4.100.0070.01016.69
7.4.90.0110.00616.91
7.4.80.0060.01719.39
7.4.70.0030.01116.51
7.4.60.0130.00316.57
7.4.50.0110.00016.41
7.4.40.0060.00916.61
7.4.30.0070.01116.54
7.4.10.0070.01015.18
7.4.00.0100.00814.87
7.3.330.0020.00213.11
7.3.320.0000.00513.13
7.3.310.0070.00016.18
7.3.300.0000.00716.20
7.3.290.0060.00816.35
7.3.280.0090.00716.32
7.3.270.0120.00617.40
7.3.260.0090.00816.28
7.3.250.0100.00916.42
7.3.240.0090.00816.52
7.3.230.0120.00616.52
7.3.210.0100.00716.59
7.3.200.0110.00616.51
7.3.190.0090.00916.45
7.3.180.0030.01316.37
7.3.170.0000.01616.52
7.3.160.0090.00616.46
7.3.130.0030.01014.71
7.3.120.0040.01314.82
7.3.110.0090.00914.56
7.3.100.0100.00514.89
7.3.90.0060.00814.53
7.3.80.0090.00314.86
7.3.70.0030.00814.68
7.3.60.0010.00814.53
7.3.50.0090.00614.60
7.3.40.0070.00814.81
7.3.30.0060.00714.83
7.3.20.0030.01116.60
7.3.10.0050.00916.46
7.3.00.0040.00816.58
7.2.330.0000.01616.39
7.2.320.0090.00916.39
7.2.310.0090.00916.36
7.2.300.0080.00816.56
7.2.290.0030.01516.45
7.2.260.0040.01215.02
7.2.250.0030.01315.04
7.2.240.0060.00914.91
7.2.230.0080.00615.13
7.2.220.0030.01115.05
7.2.210.0040.01214.87
7.2.200.0060.00914.86
7.2.190.0050.00914.77
7.2.180.0070.01015.05
7.2.170.0030.00815.07
7.2.160.0050.00814.83
7.2.150.0070.01016.80
7.2.140.0050.00716.88
7.2.130.0070.00916.82
7.2.120.0100.00616.82
7.2.110.0080.00716.76
7.2.100.0070.00916.71
7.2.90.0090.00916.80
7.2.80.0080.00816.63
7.2.70.0050.00916.71
7.2.60.0090.00616.78
7.2.50.0090.00916.82
7.2.40.0090.00916.92
7.2.30.0080.00816.75
7.2.20.0070.00816.64
7.2.10.0090.00716.87
7.2.00.0080.00617.33
7.1.330.0070.00815.94
7.1.320.0030.00915.85
7.1.310.0040.01215.72
7.1.300.0020.01015.77
7.1.290.0080.00715.94
7.1.280.0050.01015.65
7.1.270.0060.00815.86
7.1.260.0020.01015.95
7.1.250.0070.00815.75
7.1.240.0040.00715.79
7.1.230.0040.01115.73
7.1.220.0030.01015.91
7.1.210.0030.01215.99
7.1.200.0040.00915.77
7.1.190.0030.01015.88
7.1.180.0040.01115.80
7.1.170.0090.00615.88
7.1.160.0030.00915.74
7.1.150.0060.00915.87
7.1.140.0070.00715.99
7.1.130.0040.00815.73
7.1.120.0070.00715.45
7.1.110.0000.01215.88
7.1.100.0040.00917.04
7.1.90.0070.00315.89
7.1.80.0040.00815.59
7.1.70.0040.00616.40
7.1.60.0150.00525.45
7.1.50.0090.01025.29
7.1.40.0150.01225.33
7.1.30.0110.01125.26
7.1.20.0100.00825.21
7.1.10.0070.00616.24
7.1.00.0030.01016.38
7.0.330.0110.00315.35
7.0.320.0110.00415.38
7.0.310.0060.00615.45
7.0.300.0090.00615.51
7.0.290.0080.00615.44
7.0.280.0070.01015.36
7.0.270.0090.00015.14
7.0.260.0030.00615.48
7.0.250.0060.00315.39
7.0.240.0060.00615.42
7.0.230.0030.00715.56
7.0.220.0110.00315.29
7.0.210.0120.00315.17
7.0.200.0050.00516.12
7.0.190.0000.01215.77
7.0.180.0030.01015.86
7.0.170.0060.00515.99
7.0.160.0100.00215.98
7.0.150.0040.00815.93
7.0.140.0040.00615.80
7.0.130.0030.01016.27
7.0.120.0080.00516.22
7.0.110.0050.00716.12
7.0.100.0100.00315.99
7.0.90.0020.01316.07
7.0.80.0020.00915.97
7.0.70.0050.00815.98
7.0.60.0110.00315.74
7.0.50.0030.00916.15
7.0.40.0070.00715.29
7.0.30.0020.01215.22
7.0.20.0080.00415.08
7.0.10.0070.00714.85
7.0.00.0070.00615.02
5.6.400.0090.00914.22
5.6.390.0110.00814.32
5.6.380.0090.00614.29
5.6.370.0130.00013.99
5.6.360.0110.00013.71
5.6.350.0070.00714.08
5.6.340.0080.00514.27
5.6.330.0030.01014.43
5.6.320.0000.01114.38
5.6.310.0030.01014.23
5.6.300.0090.00614.23
5.6.290.0040.00714.00
5.6.280.0120.00014.21
5.6.270.0070.00314.19
5.6.260.0040.00814.23
5.6.250.0090.00614.43
5.6.240.0040.01114.21
5.6.230.0080.00814.11
5.6.220.0110.00314.25
5.6.210.0040.01114.26
5.6.200.0070.00714.09
5.6.190.0000.01214.06
5.6.180.0030.01014.22
5.6.170.0030.00614.18
5.6.160.0080.00414.08
5.6.150.0030.01013.95
5.6.140.0070.01013.86
5.6.130.0100.00714.03
5.6.120.0100.00014.13
5.6.110.0030.01014.18
5.6.100.0030.01314.15
5.6.90.0060.00614.14
5.6.80.0030.00914.20
5.6.70.0030.00914.00
5.6.60.0030.00914.00
5.6.50.0030.01014.14
5.6.40.0030.01213.97
5.6.30.0030.01014.23
5.6.20.0070.01014.34
5.6.10.0000.01513.95
5.6.00.0070.00314.28

preferences:
50.34 ms | 400 KiB | 5 Q