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.0150.00316.63
8.3.50.0130.00916.27
8.3.40.0100.01018.88
8.3.30.0070.00718.67
8.3.20.0050.00320.30
8.3.10.0040.00421.76
8.3.00.0040.00422.08
8.2.180.0220.00016.88
8.2.170.0040.01122.96
8.2.160.0110.00719.09
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00021.05
8.2.120.0040.00426.35
8.2.110.0100.00021.07
8.2.100.0060.00618.09
8.2.90.0050.00319.09
8.2.80.0050.00317.97
8.2.70.0060.00317.63
8.2.60.0050.00317.80
8.2.50.0000.00818.10
8.2.40.0070.00020.54
8.2.30.0030.00520.92
8.2.20.0000.00717.83
8.2.10.0040.00417.88
8.2.00.0030.00318.02
8.1.280.0120.00925.92
8.1.270.0000.00822.20
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0030.00624.03
8.1.230.0070.00318.98
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0000.00817.23
8.1.180.0070.00018.10
8.1.170.0000.00818.96
8.1.160.0040.00418.98
8.1.150.0030.00520.54
8.1.140.0040.00419.53
8.1.130.0030.00318.75
8.1.120.0060.00317.48
8.1.110.0000.00717.36
8.1.100.0000.00817.48
8.1.90.0040.00417.46
8.1.80.0040.00417.49
8.1.70.0080.00017.51
8.1.60.0060.00317.58
8.1.50.0030.00617.55
8.1.40.0000.00817.50
8.1.30.0050.00317.68
8.1.20.0090.00517.52
8.1.10.0050.00317.47
8.1.00.0000.00717.55
8.0.300.0040.00418.77
8.0.290.0080.00016.58
8.0.280.0030.00318.34
8.0.270.0000.00817.05
8.0.260.0000.00716.90
8.0.250.0030.00316.96
8.0.240.0000.00816.99
8.0.230.0000.00716.81
8.0.220.0070.00016.95
8.0.210.0030.00316.88
8.0.200.0000.00616.91
8.0.190.0040.00416.85
8.0.180.0100.00016.82
8.0.170.0000.00816.83
8.0.160.0000.00716.88
8.0.150.0030.00516.76
8.0.140.0040.00416.76
8.0.130.0030.00313.28
8.0.120.0040.00416.85
8.0.110.0000.00716.95
8.0.100.0000.00717.01
8.0.90.0050.00216.78
8.0.80.0120.00916.96
8.0.70.0040.00416.81
8.0.60.0000.00816.82
8.0.50.0040.00416.95
8.0.30.0080.00917.12
8.0.20.0110.00917.41
8.0.10.0040.00416.92
8.0.00.0100.00716.66
7.4.330.0020.00215.55
7.4.320.0000.00616.60
7.4.300.0000.00716.70
7.4.290.0120.00016.48
7.4.280.0080.00016.69
7.4.270.0030.00316.70
7.4.260.0070.00016.57
7.4.250.0000.00716.67
7.4.240.0000.00716.58
7.4.230.0000.00716.74
7.4.220.0100.00716.80
7.4.210.0030.01016.73
7.4.200.0000.00716.67
7.4.160.0120.00316.60
7.4.150.0090.00917.40
7.4.140.0110.00917.86
7.4.130.0200.00016.63
7.4.120.0100.01016.58
7.4.110.0030.01316.56
7.4.100.0130.00316.70
7.4.90.0060.01216.85
7.4.80.0060.01519.39
7.4.70.0070.01016.46
7.4.60.0090.00616.61
7.4.50.0030.01116.43
7.4.40.0120.00316.58
7.4.30.0070.01016.78
7.4.10.0030.01415.03
7.4.00.0050.01114.95
7.3.330.0050.00013.02
7.3.320.0030.00313.00
7.3.310.0030.00316.43
7.3.300.0000.00716.33
7.3.290.0070.00916.30
7.3.280.0070.00916.28
7.3.270.0150.00417.40
7.3.260.0090.00916.34
7.3.250.0120.00716.44
7.3.240.0090.01116.59
7.3.230.0090.00916.52
7.3.210.0100.00616.51
7.3.200.0050.01416.15
7.3.190.0110.00616.32
7.3.180.0040.01216.25
7.3.170.0060.01216.39
7.3.160.0130.00616.56
7.3.130.0000.01914.70
7.3.120.0050.01315.12
7.3.110.0080.01014.73
7.3.100.0050.00914.82
7.3.90.0030.00915.09
7.3.80.0070.00714.87
7.3.70.0010.01214.81
7.3.60.0030.00914.90
7.3.50.0070.00714.82
7.3.40.0040.00414.83
7.3.30.0030.01214.71
7.3.20.0060.00716.62
7.3.10.0060.01016.78
7.3.00.0090.00816.77
7.2.330.0060.01216.46
7.2.320.0100.01416.67
7.2.310.0080.00816.53
7.2.300.0040.01216.49
7.2.290.0110.01416.59
7.2.260.0100.00315.06
7.2.250.0060.01115.16
7.2.240.0070.01014.87
7.2.230.0070.00814.78
7.2.220.0060.00914.88
7.2.210.0050.00915.05
7.2.200.0070.00515.00
7.2.190.0060.00914.75
7.2.180.0020.01015.03
7.2.170.0100.00614.98
7.2.160.0100.00315.07
7.2.150.0030.01017.08
7.2.140.0030.00916.73
7.2.130.0030.01016.94
7.2.120.0100.00716.77
7.2.110.0100.00717.05
7.2.100.0000.01916.80
7.2.90.0090.00616.82
7.2.80.0070.01116.76
7.2.70.0070.00317.05
7.2.60.0050.01017.00
7.2.50.0000.01916.98
7.2.40.0030.01016.66
7.2.30.0030.01017.05
7.2.20.0090.00917.06
7.2.10.0060.00617.00
7.2.00.0060.00718.22
7.1.330.0020.01315.87
7.1.320.0070.00715.94
7.1.310.0040.01215.95
7.1.300.0090.00515.76
7.1.290.0030.01015.81
7.1.280.0050.00915.73
7.1.270.0040.01115.82
7.1.260.0030.01115.93
7.1.250.0040.00715.75
7.1.240.0070.01015.69
7.1.230.0000.01215.89
7.1.220.0040.01115.89
7.1.210.0070.00315.81
7.1.200.0020.01215.82
7.1.190.0030.00916.04
7.1.180.0060.01315.98
7.1.170.0070.00415.56
7.1.160.0090.00015.88
7.1.150.0060.00915.61
7.1.140.0090.00615.71
7.1.130.0000.00916.04
7.1.120.0070.00715.87
7.1.110.0090.00615.74
7.1.100.0040.00817.12
7.1.90.0070.00715.92
7.1.80.0070.00715.97
7.1.70.0080.00516.46
7.1.60.0070.01225.60
7.1.50.0140.01025.44
7.1.40.0100.01025.17
7.1.30.0070.01425.12
7.1.20.0090.01325.33
7.1.10.0050.00816.15
7.1.00.0060.00616.25
7.0.330.0070.01015.17
7.0.320.0070.00715.57
7.0.310.0000.01015.70
7.0.300.0050.00315.49
7.0.290.0060.00615.60
7.0.280.0030.01315.29
7.0.270.0060.00615.39
7.0.260.0030.00915.41
7.0.250.0030.00915.64
7.0.240.0090.00615.55
7.0.230.0090.00615.41
7.0.220.0030.00615.37
7.0.210.0100.00615.23
7.0.200.0030.00816.26
7.0.190.0060.01116.02
7.0.180.0030.00815.93
7.0.170.0060.00715.95
7.0.160.0060.00615.99
7.0.150.0020.01016.06
7.0.140.0040.00716.12
7.0.130.0050.00816.06
7.0.120.0070.00515.95
7.0.110.0060.01016.03
7.0.100.0030.01216.03
7.0.90.0060.01116.15
7.0.80.0010.01215.91
7.0.70.0030.00916.09
7.0.60.0070.00616.00
7.0.50.0040.00816.13
7.0.40.0000.01114.90
7.0.30.0020.00815.04
7.0.20.0020.01014.91
7.0.10.0080.00415.07
7.0.00.0030.00915.08
5.6.400.0120.00314.07
5.6.390.0030.01414.09
5.6.380.0090.00614.41
5.6.370.0110.00314.51
5.6.360.0030.01014.48
5.6.350.0080.00413.99
5.6.340.0030.01413.96
5.6.330.0080.00614.20
5.6.320.0040.00814.25
5.6.310.0100.00714.11
5.6.300.0030.01214.20
5.6.290.0000.01213.84
5.6.280.0090.00613.90
5.6.270.0000.01414.26
5.6.260.0090.00614.41
5.6.250.0090.00614.02
5.6.240.0050.00814.22
5.6.230.0050.00814.14
5.6.220.0060.01114.03
5.6.210.0000.01614.09
5.6.200.0000.01414.00
5.6.190.0000.01014.11
5.6.180.0070.00714.35
5.6.170.0060.00314.12
5.6.160.0070.00713.96
5.6.150.0030.01314.46
5.6.140.0050.00314.34
5.6.130.0060.00614.30
5.6.120.0150.00013.87
5.6.110.0070.00314.27
5.6.100.0060.00913.97
5.6.90.0060.00613.96
5.6.80.0090.00314.26
5.6.70.0060.00614.07
5.6.60.0030.01014.14
5.6.50.0130.00014.13
5.6.40.0030.00714.44
5.6.30.0090.00314.11
5.6.20.0030.00614.09
5.6.10.0040.00714.04
5.6.00.0090.00314.09

preferences:
49.2 ms | 400 KiB | 5 Q