3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filename = 'Arrow.S010E050.480p.HDTV.x264-ChameE.mkv'; // file name get form iPad // express to get series name, season and episode number if (preg_match("^.*?s(\\d{2})((?:e\\d{2})+).*", $filename, $n)) { print_r($n); }

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.01216.63
8.3.50.0120.00522.93
8.3.40.0080.00818.71
8.3.30.0090.00618.67
8.3.20.0000.00720.08
8.3.10.0050.00323.70
8.3.00.0040.00419.66
8.2.180.0100.01016.50
8.2.170.0110.00422.96
8.2.160.0070.00720.86
8.2.150.0080.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00022.29
8.2.120.0040.00426.35
8.2.110.0110.00021.00
8.2.100.0040.00718.01
8.2.90.0060.00319.05
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0050.00317.80
8.2.50.0080.00318.10
8.2.40.0030.00522.30
8.2.30.0040.00719.06
8.2.20.0040.00417.61
8.2.10.0030.00617.87
8.2.00.0040.00417.86
8.1.280.0120.00925.92
8.1.270.0040.00423.71
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00322.19
8.1.230.0040.00719.52
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0080.00017.13
8.1.180.0040.00418.10
8.1.170.0000.00818.48
8.1.160.0040.00422.13
8.1.150.0000.00818.81
8.1.140.0070.00019.38
8.1.130.0000.00817.54
8.1.120.0030.00317.36
8.1.110.0080.00017.38
8.1.100.0040.00417.39
8.1.90.0030.00517.39
8.1.80.0000.00717.29
8.1.70.0070.00017.29
8.1.60.0040.00417.47
8.1.50.0100.00017.48
8.1.40.0080.00617.34
8.1.30.0080.00017.65
8.1.20.0000.00717.59
8.1.10.0050.00317.39
8.1.00.0040.00417.33
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0040.00418.30
8.0.270.0030.00317.20
8.0.260.0030.00317.16
8.0.250.0000.00716.99
8.0.240.0060.00016.90
8.0.230.0030.00516.87
8.0.220.0080.00016.79
8.0.210.0000.00716.85
8.0.200.0000.00716.83
8.0.190.0040.00416.94
8.0.180.0040.00416.96
8.0.170.0040.00416.92
8.0.160.0040.00416.85
8.0.150.0000.00716.88
8.0.140.0000.01016.75
8.0.130.0070.00313.27
8.0.120.0000.00816.75
8.0.110.0040.00416.77
8.0.100.0040.00416.82
8.0.90.0000.00816.96
8.0.80.0090.00616.87
8.0.70.0050.00316.82
8.0.60.0040.00416.83
8.0.50.0030.00616.91
8.0.30.0100.00716.95
8.0.20.0070.01217.40
8.0.10.0080.00017.04
8.0.00.0100.00716.81
7.4.330.0050.00015.09
7.4.320.0070.00016.39
7.4.300.0000.00616.37
7.4.290.0040.00416.50
7.4.280.0050.00216.43
7.4.270.0030.00316.48
7.4.260.0030.00316.33
7.4.250.0040.00416.41
7.4.240.0030.00316.42
7.4.230.0000.00716.54
7.4.220.0030.01516.53
7.4.210.0110.00816.52
7.4.200.0000.00716.53
7.4.160.0090.00616.40
7.4.150.0070.01117.40
7.4.140.0120.00917.86
7.4.130.0110.00616.40
7.4.120.0080.00816.50
7.4.110.0110.00716.37
7.4.100.0030.01216.47
7.4.90.0140.00716.52
7.4.80.0040.01219.39
7.4.70.0110.00716.34
7.4.60.0090.00916.36
7.4.50.0030.01116.21
7.4.40.0130.00316.52
7.4.30.0140.00716.42
7.4.00.0120.00614.72
7.3.330.0050.00012.94
7.3.320.0000.00712.93
7.3.310.0030.00616.23
7.3.300.0000.00716.18
7.3.290.0030.00316.09
7.3.280.0060.01216.27
7.3.270.0130.00317.40
7.3.260.0120.00816.28
7.3.250.0120.00616.29
7.3.240.0070.01016.30
7.3.230.0030.01316.39
7.3.210.0170.00316.27
7.3.200.0070.01716.53
7.3.190.0160.00616.23
7.3.180.0130.00716.29
7.3.170.0140.00416.44
7.3.160.0100.00616.41
7.3.10.0100.00416.53
7.3.00.0000.00916.28
7.2.330.0100.00716.53
7.2.320.0060.01016.59
7.2.310.0060.01116.13
7.2.300.0040.01916.50
7.2.290.0090.00616.44
7.2.130.0090.00616.43
7.2.120.0070.01016.30
7.2.110.0060.00616.79
7.2.100.0090.00316.77
7.2.90.0000.01416.71
7.2.80.0000.01416.85
7.2.70.0030.01016.44
7.2.60.0060.00616.78
7.2.50.0110.00416.70
7.2.40.0030.00616.84
7.2.30.0070.01016.88
7.2.20.0060.00316.86
7.2.10.0110.00416.86
7.2.00.0050.00817.92
7.1.250.0000.01215.73
7.1.70.0040.00417.21
7.1.60.0030.01019.75
7.1.00.0030.07322.32
7.0.200.0050.00316.54
7.0.90.0130.05319.93
7.0.80.0200.06320.01
7.0.70.0130.05719.95
7.0.60.0130.05720.01
7.0.50.0130.05720.47
7.0.40.0130.06320.46
7.0.30.0100.06320.32
7.0.20.0230.05320.32
7.0.10.0100.06320.43
7.0.00.0300.07020.32
5.6.240.0130.05720.57
5.6.230.0070.06320.70
5.6.220.0130.05720.65
5.6.210.0130.05720.60
5.6.200.0030.07021.20
5.6.190.0270.04721.09
5.6.180.0170.05321.09
5.6.170.0170.06321.09
5.6.160.0230.04721.13
5.6.150.0130.06021.02
5.6.140.0170.05321.08
5.6.130.0100.06321.11
5.6.120.0230.07321.07
5.6.110.0030.07321.05
5.6.100.0170.05021.12
5.6.90.0170.05321.07
5.6.80.0100.06720.41
5.6.70.0270.04320.45
5.6.60.0070.06020.45
5.6.50.0130.05720.56
5.6.40.0130.05320.53
5.6.30.0170.05720.51
5.6.20.0030.06320.52
5.6.10.0070.06020.46
5.6.00.0130.05020.42

preferences:
31.68 ms | 401 KiB | 5 Q