3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('@^/([^/]+)/([^/]+)/([^/?]+)@', '/git/mat-omg/master?hash=fion', $match); preg_match('@^/([^/]+)/([^?]+)@', '/svn/modules/core/branches/5.6.2/', $match); //preg_match('@^/([^/]+)/([^?]+)@', '/git/mat-omg/master?hash=fion', $match); //$match = explode('/', $match[2]); var_dump($match);

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.0040.01118.55
8.3.50.0140.00716.36
8.3.40.0040.01118.97
8.3.30.0180.00018.66
8.3.20.0070.00020.16
8.3.10.0070.00021.86
8.3.00.0050.00321.80
8.2.180.0090.01218.38
8.2.170.0120.00922.96
8.2.160.0030.01020.36
8.2.150.0000.00724.18
8.2.140.0030.00524.66
8.2.130.0040.00422.21
8.2.120.0050.00226.35
8.2.110.0040.00820.38
8.2.100.0030.01018.09
8.2.90.0030.00718.96
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0100.00017.79
8.2.50.0040.00418.10
8.2.40.0030.00520.55
8.2.30.0040.00419.15
8.2.20.0030.00517.96
8.2.10.0080.00017.96
8.2.00.0040.00418.02
8.1.280.0070.01425.92
8.1.270.0050.00320.14
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00320.60
8.1.230.0040.00817.42
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0080.00018.63
8.1.160.0000.00818.82
8.1.150.0070.00020.21
8.1.140.0000.00819.41
8.1.130.0000.00619.04
8.1.120.0030.00317.49
8.1.110.0030.00517.52
8.1.100.0040.00417.51
8.1.90.0000.00717.49
8.1.80.0000.00717.39
8.1.70.0000.00717.41
8.1.60.0040.00417.59
8.1.50.0060.00317.56
8.1.40.0000.00917.41
8.1.30.0040.00417.71
8.1.20.0080.00017.64
8.1.10.0080.00017.62
8.1.00.0070.00017.52
8.0.300.0030.00518.77
8.0.290.0040.00416.75
8.0.280.0000.00718.26
8.0.270.0000.00717.23
8.0.260.0000.00917.07
8.0.250.0050.00316.87
8.0.240.0050.00316.98
8.0.230.0030.00316.96
8.0.220.0000.00716.79
8.0.210.0030.00316.80
8.0.200.0060.00016.86
8.0.190.0000.00716.88
8.0.180.0040.00416.92
8.0.170.0040.00416.94
8.0.160.0040.00416.96
8.0.150.0090.00316.96
8.0.140.0000.00716.90
8.0.130.0000.00513.34
8.0.120.0020.00516.89
8.0.110.0050.00216.97
8.0.100.0040.00416.98
8.0.90.0000.00716.88
8.0.80.0150.00716.87
8.0.70.0070.00016.95
8.0.60.0000.00816.86
8.0.50.0000.00716.95
8.0.30.0090.00816.85
8.0.20.0130.00617.40
8.0.10.0040.00416.91
8.0.00.0100.00716.79
7.4.330.0000.00515.55
7.4.320.0030.00316.51
7.4.300.0030.00316.51
7.4.290.0040.00416.63
7.4.280.0040.00416.69
7.4.270.0070.00016.59
7.4.260.0030.00316.60
7.4.250.0030.00316.55
7.4.240.0040.00416.68
7.4.230.0000.00716.80
7.4.220.0070.02016.75
7.4.210.0060.00916.54
7.4.200.0030.00316.58
7.4.160.0100.00616.36
7.4.150.0260.03017.40
7.4.140.0110.00917.86
7.4.130.0110.00616.49
7.4.120.0100.01116.68
7.4.110.0120.00916.71
7.4.100.0070.01716.57
7.4.90.0100.00716.52
7.4.80.0100.01019.39
7.4.70.0150.00816.66
7.4.60.0120.00816.61
7.4.50.0060.01016.39
7.4.40.0120.00416.59
7.4.30.0060.01216.63
7.4.00.0090.00614.89
7.3.330.0040.00413.11
7.3.320.0050.00013.13
7.3.310.0070.00016.13
7.3.300.0070.00016.27
7.3.290.0080.00716.34
7.3.280.0080.00916.29
7.3.270.0120.00617.40
7.3.260.0110.00716.32
7.3.250.0100.00916.52
7.3.240.0130.00716.30
7.3.230.0060.01216.42
7.3.210.0070.01016.25
7.3.200.0040.01316.74
7.3.190.0100.00616.32
7.3.180.0100.00616.27
7.3.170.0080.00816.34
7.3.160.0130.00316.48
7.3.10.0080.00816.29
7.3.00.0030.01016.11
7.2.330.0130.00916.47
7.2.320.0110.00616.55
7.2.310.0030.01316.80
7.2.300.0060.01816.57
7.2.290.0100.00716.52
7.2.130.0110.00516.50
7.2.120.0060.01216.75
7.2.110.0130.00416.68
7.2.100.0380.00416.46
7.2.90.0100.00716.54
7.2.80.0040.01116.44
7.2.70.0230.00316.22
7.2.60.0170.00516.66
7.2.50.0180.00016.34
7.2.40.0000.01516.66
7.2.30.0150.00316.53
7.2.20.0090.00516.74
7.2.10.0030.01216.58
7.2.00.0100.00418.13
7.1.250.0040.01315.28
7.1.200.0190.00216.02
7.1.100.0060.00617.59
7.1.70.0030.00717.27
7.1.60.0030.00717.22
7.1.50.0130.01316.70
7.1.30.5830.06736.51
7.1.20.3400.09036.28
7.1.10.4170.08020.46
7.1.00.3570.07020.73
7.0.200.0030.01016.95
7.0.170.4130.08020.06
7.0.160.4600.06019.90
7.0.150.3970.06719.90
7.0.140.3330.06720.04
7.0.130.3770.08720.03
7.0.120.4200.06720.07
7.0.110.3570.06320.15
7.0.100.5430.05320.09
7.0.90.3730.05320.06
7.0.80.3530.06320.12
7.0.70.3170.07720.04
7.0.60.3330.06720.11
7.0.50.2300.06020.05
7.0.40.3870.06320.03
7.0.30.3970.07720.06
7.0.20.4070.07020.11
7.0.10.3300.09020.01
7.0.00.2270.08020.06

preferences:
66.64 ms | 401 KiB | 5 Q