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.0140.00416.75
8.3.50.0150.00316.42
8.3.40.0060.00918.92
8.3.30.0070.00718.81
8.3.20.0080.00022.09
8.3.10.0040.00421.66
8.3.00.0040.00422.05
8.2.180.0110.01118.41
8.2.170.0140.00022.96
8.2.160.0100.00318.91
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00419.37
8.2.120.0080.00026.35
8.2.110.0080.00321.31
8.2.100.0040.00717.91
8.2.90.0000.00819.09
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00417.68
8.2.50.0000.00918.10
8.2.40.0040.00420.65
8.2.30.0000.00820.86
8.2.20.0040.00417.98
8.2.10.0080.00017.88
8.2.00.0000.00717.96
8.1.280.0150.00625.92
8.1.270.0050.00322.11
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0090.00023.97
8.1.230.0060.00619.16
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0000.00718.84
8.1.160.0000.00818.98
8.1.150.0040.00420.57
8.1.140.0000.00819.33
8.1.130.0000.00718.74
8.1.120.0070.00417.51
8.1.110.0030.00417.46
8.1.100.0050.00317.44
8.1.90.0000.00817.39
8.1.80.0040.00417.46
8.1.70.0050.00217.35
8.1.60.0040.00417.59
8.1.50.0050.00317.54
8.1.40.0000.00817.45
8.1.30.0030.00617.75
8.1.20.0060.00617.63
8.1.10.0040.00417.58
8.1.00.0000.00917.53
8.0.300.0030.00618.77
8.0.290.0080.00016.75
8.0.280.0030.00318.30
8.0.270.0070.00017.03
8.0.260.0060.00016.88
8.0.250.0060.00016.96
8.0.240.0000.00717.00
8.0.230.0030.00316.88
8.0.220.0030.00616.86
8.0.210.0030.00316.93
8.0.200.0070.00016.86
8.0.190.0080.00017.01
8.0.180.0030.00516.95
8.0.170.0000.00716.93
8.0.160.0000.00716.95
8.0.150.0080.00016.89
8.0.140.0040.00416.81
8.0.130.0000.00713.35
8.0.120.0040.00416.74
8.0.110.0040.00416.95
8.0.100.0040.00416.77
8.0.90.0050.00316.88
8.0.80.0100.01316.96
8.0.70.0040.00417.03
8.0.60.0050.00216.88
8.0.50.0040.00416.98
8.0.30.0090.00817.13
8.0.20.0120.00817.40
8.0.10.0040.00416.99
8.0.00.0130.00416.70
7.4.330.0000.00515.55
7.4.320.0030.00316.64
7.4.300.0000.00616.54
7.4.290.0070.00416.49
7.4.280.0070.00016.57
7.4.270.0040.00416.71
7.4.260.0030.00316.47
7.4.250.0030.00316.64
7.4.240.0040.00416.71
7.4.230.0040.00416.72
7.4.220.0030.01416.62
7.4.210.0080.00916.60
7.4.200.0000.00716.71
7.4.160.0050.01116.58
7.4.150.0130.00317.40
7.4.140.0090.00817.86
7.4.130.0110.00916.65
7.4.120.0180.00816.60
7.4.110.0060.01516.54
7.4.100.0060.01416.54
7.4.90.0030.01416.49
7.4.80.0030.01319.39
7.4.70.0060.00916.77
7.4.60.0060.01216.61
7.4.50.0120.00616.45
7.4.40.0060.00916.55
7.4.30.0090.00916.71
7.4.00.0100.00714.84
7.3.330.0060.00013.12
7.3.320.0000.00613.14
7.3.310.0000.00816.24
7.3.300.0000.00716.31
7.3.290.0070.00016.28
7.3.280.0080.00816.27
7.3.270.0140.00717.40
7.3.260.0020.01716.49
7.3.250.0130.00516.43
7.3.240.0070.01416.43
7.3.230.0190.00016.30
7.3.210.0060.01016.67
7.3.200.0130.00316.68
7.3.190.0080.01116.54
7.3.180.0100.00716.55
7.3.170.0080.00816.60
7.3.160.0140.00516.34
7.2.330.0100.00816.60
7.2.320.0130.00616.55
7.2.310.0090.01316.58
7.2.300.0120.00616.57
7.2.290.0040.01216.54
7.2.60.0070.00716.94
7.2.00.0060.00619.70
7.1.200.0060.00615.79
7.1.100.0000.01318.21
7.1.70.0040.00817.08
7.1.60.0200.02035.20
7.1.50.0170.01034.87
7.1.40.0220.00634.65
7.1.30.0220.00634.54
7.1.20.0160.01234.66
7.1.10.0110.00316.87
7.1.00.0070.00716.83
7.0.200.0060.01216.75
7.0.190.0000.01216.93
7.0.180.0030.01016.14
7.0.170.0040.01116.33
7.0.160.0060.00616.41
7.0.150.0070.00716.54
7.0.140.0080.00416.43
7.0.130.0060.00916.62
7.0.120.0030.01616.56
7.0.110.0000.01316.60
7.0.100.0060.00916.63
7.0.90.0070.00716.41
7.0.80.0030.01016.28
7.0.70.0030.00916.50
7.0.60.0060.00616.22
7.0.50.0000.01216.71
7.0.40.0060.00616.68
7.0.30.0090.00316.79
7.0.20.0030.01016.50
7.0.10.0030.01016.37
7.0.00.0070.00716.67

preferences:
40.86 ms | 401 KiB | 5 Q