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); 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.0060.00916.46
8.3.50.0100.00716.42
8.3.40.0110.00419.02
8.3.30.0120.00318.68
8.3.20.0040.00420.33
8.3.10.0040.00421.73
8.3.00.0000.00722.04
8.2.180.0120.00616.36
8.2.170.0110.00422.96
8.2.160.0080.00818.97
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0070.00021.25
8.2.120.0000.00826.35
8.2.110.0070.00320.47
8.2.100.0060.00617.90
8.2.90.0060.00319.09
8.2.80.0080.00017.97
8.2.70.0030.00517.47
8.2.60.0030.00517.68
8.2.50.0000.00918.10
8.2.40.0030.00520.53
8.2.30.0050.00320.80
8.2.20.0080.00017.83
8.2.10.0060.00318.02
8.2.00.0000.00717.83
8.1.280.0180.00025.92
8.1.270.0040.00422.14
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00823.83
8.1.230.0080.00317.64
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0000.00817.35
8.1.190.0040.00417.35
8.1.180.0000.00718.10
8.1.170.0030.00518.77
8.1.160.0070.00018.93
8.1.150.0000.00820.57
8.1.140.0040.00419.39
8.1.130.0070.00018.79
8.1.120.0000.01017.49
8.1.110.0040.00417.46
8.1.100.0000.00917.56
8.1.90.0040.00417.52
8.1.80.0020.00517.49
8.1.70.0070.00017.40
8.1.60.0030.00517.60
8.1.50.0000.00717.41
8.1.40.0000.00817.45
8.1.30.0040.00417.64
8.1.20.0030.00717.66
8.1.10.0080.00017.50
8.1.00.0040.00417.55
8.0.300.0080.00018.77
8.0.290.0000.00916.75
8.0.280.0030.00318.26
8.0.270.0000.00717.18
8.0.260.0070.00016.91
8.0.250.0020.00516.87
8.0.240.0060.00316.89
8.0.230.0070.00016.95
8.0.220.0040.00416.80
8.0.210.0040.00416.77
8.0.200.0030.00317.00
8.0.190.0000.00816.86
8.0.180.0070.00316.93
8.0.170.0040.00316.98
8.0.160.0040.00416.94
8.0.150.0070.00016.96
8.0.140.0040.00416.89
8.0.130.0050.00013.34
8.0.120.0030.00516.85
8.0.110.0070.00016.96
8.0.100.0000.00716.79
8.0.90.0000.00716.82
8.0.80.0060.00916.89
8.0.70.0040.00416.92
8.0.60.0050.00316.75
8.0.50.0050.00216.72
8.0.30.0100.00817.05
8.0.20.0170.00817.40
8.0.10.0000.00717.04
8.0.00.0110.00716.61
7.4.330.0050.00015.55
7.4.320.0070.00016.69
7.4.300.0030.00316.67
7.4.290.0060.00316.58
7.4.280.0080.00016.59
7.4.270.0030.00316.59
7.4.260.0000.00816.72
7.4.250.0080.00016.53
7.4.240.0000.00816.52
7.4.230.0040.00416.71
7.4.220.0100.01616.76
7.4.210.0060.01016.73
7.4.200.0000.00716.72
7.4.160.0120.00316.50
7.4.150.0060.01217.40
7.4.140.0130.00717.86
7.4.130.0030.01616.59
7.4.120.0100.01216.61
7.4.110.0060.01016.55
7.4.100.0170.00716.66
7.4.90.0100.01016.47
7.4.80.0180.00619.39
7.4.70.0130.00316.30
7.4.60.0070.01016.41
7.4.50.0070.01016.51
7.4.40.0050.01116.59
7.4.30.0120.00616.64
7.4.10.0090.00616.51
7.4.00.0070.01215.88
7.3.330.0020.00213.02
7.3.320.0020.00213.13
7.3.310.0030.00316.23
7.3.300.0000.00716.20
7.3.290.0050.00916.33
7.3.280.0080.00816.32
7.3.270.0070.01717.40
7.3.260.0150.00616.35
7.3.250.0080.00916.37
7.3.240.0110.00916.49
7.3.230.0070.01016.45
7.3.210.0070.01016.25
7.3.200.0100.01016.60
7.3.190.0140.00316.62
7.3.180.0070.01116.61
7.3.170.0100.00716.22
7.3.160.0120.00916.20
7.3.130.0080.01116.53
7.3.120.0040.01516.27
7.3.110.0080.00416.28
7.3.100.0030.01316.56
7.3.90.0060.01316.55
7.3.80.0040.01416.41
7.3.70.0000.01816.39
7.3.60.0030.01316.32
7.3.50.0040.01116.29
7.3.40.0070.00716.43
7.3.30.0160.01116.37
7.3.20.0040.01917.98
7.3.10.0190.00418.28
7.3.00.0110.00718.24
7.2.330.0050.01416.36
7.2.320.0140.00316.66
7.2.310.0030.01316.48
7.2.300.0130.00316.57
7.2.290.0090.01516.54
7.2.260.0030.01716.55
7.2.250.0070.01416.45
7.2.240.0120.00616.52
7.2.230.0000.01516.40
7.2.220.0030.01216.42
7.2.210.0060.01216.43
7.2.200.0030.01416.60
7.2.190.0030.01516.67
7.2.180.0030.01016.61
7.2.170.0090.00916.63
7.2.160.0150.01116.39
7.2.150.0120.00418.37
7.2.140.0130.01318.39
7.2.130.0090.00618.25
7.2.120.0130.00318.32
7.2.110.0110.00418.38
7.2.100.0040.01418.22
7.2.90.0070.00718.19
7.2.80.0050.00917.41
7.2.70.0090.00918.36
7.2.60.0090.00617.62
7.2.50.0070.01118.45
7.2.40.0130.00618.54
7.2.30.0030.01318.43
7.2.20.0030.01018.43
7.2.10.0070.01018.45
7.2.00.0070.00818.78
7.1.330.0070.01017.47
7.1.320.0090.00617.16
7.1.310.0120.00617.66
7.1.300.0120.00417.36
7.1.290.0080.00317.40
7.1.280.0110.00317.38
7.1.270.0110.01517.55
7.1.260.0130.01017.45
7.1.250.0170.00017.48
7.1.240.0040.01417.30
7.1.230.0030.01417.46
7.1.220.0110.00417.34
7.1.210.0070.01017.32
7.1.200.0080.00616.66
7.1.190.0110.00717.27
7.1.180.0070.00717.46
7.1.170.0000.01117.34
7.1.160.0070.00917.21
7.1.150.0040.01117.29
7.1.140.0090.00617.30
7.1.130.0040.00717.43
7.1.120.0000.01617.36
7.1.110.0060.00617.53
7.1.100.0040.00917.73
7.1.90.0070.01017.46
7.1.80.0060.00917.45
7.1.70.0060.00817.25
7.1.60.0160.01226.21
7.1.50.0150.00826.06
7.1.40.0120.01225.96
7.1.30.0190.00726.18
7.1.20.0080.01026.11
7.1.10.0060.00817.19
7.1.00.0080.00717.18
7.0.330.0090.00916.96
7.0.320.0030.01417.14
7.0.310.0170.00317.15
7.0.300.0110.00716.95
7.0.290.0070.00716.95
7.0.280.0070.00717.11
7.0.270.0100.00316.86
7.0.260.0040.00716.95
7.0.250.0060.00917.06
7.0.240.0070.01017.16
7.0.230.0030.00717.38
7.0.220.0070.00417.01
7.0.210.0040.01117.12
7.0.200.0080.00616.94
7.0.190.0050.00617.02
7.0.180.0030.01016.61
7.0.170.0090.00716.87
7.0.160.0030.01316.84
7.0.150.0080.00616.61
7.0.140.0060.01116.84
7.0.130.0060.00816.84
7.0.120.0040.00816.98
7.0.110.0080.00716.73
7.0.100.0060.01116.87
7.0.90.0070.01016.81
7.0.80.0060.00916.94
7.0.70.0050.00916.88
7.0.60.0050.00916.84
7.0.50.0110.00316.77
7.0.40.0110.00415.88
7.0.30.0090.00415.81
7.0.20.0040.00715.83
7.0.10.0040.00915.97
7.0.00.0070.00615.90
5.6.400.0040.02015.74
5.6.390.0170.00515.69
5.6.380.0250.00015.77
5.6.370.0220.00615.80
5.6.360.0130.01315.87
5.6.350.0040.01615.46
5.6.340.0030.01615.87
5.6.330.0030.01315.95
5.6.320.0030.01315.69
5.6.310.0190.00815.88
5.6.300.0150.01215.57
5.6.290.0140.00915.85
5.6.280.0080.01515.77
5.6.270.0230.00415.81
5.6.260.0150.01215.69
5.6.250.0240.00315.48
5.6.240.0180.00515.75
5.6.230.0130.01315.74
5.6.220.0060.00915.63
5.6.210.0030.01315.78
5.6.200.0070.00715.52
5.6.190.0120.00315.50
5.6.180.0110.00415.54
5.6.170.0120.00315.93
5.6.160.0100.00715.76
5.6.150.0070.01015.73
5.6.140.0080.00815.68
5.6.130.0040.01415.73
5.6.120.0070.01115.65
5.6.110.0040.01415.57
5.6.100.0100.00715.75
5.6.90.0040.00815.87
5.6.80.0110.00715.71
5.6.70.0030.01415.57
5.6.60.0000.01415.48
5.6.50.0040.00815.43
5.6.40.0070.01015.46
5.6.30.0100.00615.64
5.6.20.0030.01015.50
5.6.10.0030.01015.37
5.6.00.0040.01115.61

preferences:
39.68 ms | 400 KiB | 5 Q