3v4l.org

run code in 300+ PHP versions simultaneously
<?php function parseTicketName($ticketName) { preg_match('/^([[:alpha:]]{2})^([[:alpha:]]+)^(B|F)([[:digit:]]+)$/', $ticketName, $matches); var_dump($matches); exit; return array( 'system' => $matches[1], 'project' => $matches[2], 'ticket_id' => $matches[3] ); } // 2 first characters is system, then the next letters are project name and the numbers are the ticket id $s = "ASFXf10"; var_dump(parseTicketName($s));

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.0080.00617.00
8.3.50.0120.00522.15
8.3.40.0120.00318.91
8.3.30.0070.00719.01
8.3.20.0040.00420.30
8.3.10.0040.00423.65
8.3.00.0000.00822.45
8.2.180.0070.01417.00
8.2.170.0100.00722.96
8.2.160.0070.00720.58
8.2.150.0070.00024.18
8.2.140.0120.00324.66
8.2.130.0030.00626.16
8.2.120.0080.00022.38
8.2.110.0060.00322.41
8.2.100.0060.00617.91
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0040.00417.62
8.2.60.0000.00817.92
8.2.50.0100.00018.07
8.2.40.0000.00718.03
8.2.30.0040.00418.09
8.2.20.0050.00317.70
8.2.10.0050.00317.83
8.2.00.0080.00017.78
8.1.280.0110.00425.92
8.1.270.0000.00823.77
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0050.00523.85
8.1.230.0060.00619.07
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0060.00317.48
8.1.190.0040.00417.38
8.1.180.0040.00418.10
8.1.170.0060.00318.79
8.1.160.0000.00921.84
8.1.150.0040.00418.70
8.1.140.0040.00417.55
8.1.130.0000.00717.85
8.1.120.0020.00517.58
8.1.110.0000.00717.45
8.1.100.0070.00017.54
8.1.90.0000.00717.45
8.1.80.0020.00517.43
8.1.70.0050.00317.45
8.1.60.0040.00417.78
8.1.50.0000.00917.59
8.1.40.0000.00817.72
8.1.30.0040.00417.74
8.1.20.0030.00617.73
8.1.10.0060.00317.64
8.1.00.0080.00017.58
8.0.300.0000.00718.77
8.0.290.0000.00817.16
8.0.280.0000.00718.29
8.0.270.0030.00317.16
8.0.260.0000.00716.96
8.0.250.0030.00517.18
8.0.240.0000.00717.09
8.0.230.0000.00717.15
8.0.220.0030.00317.00
8.0.210.0030.00416.96
8.0.200.0070.00017.03
8.0.190.0050.00317.11
8.0.180.0030.00617.09
8.0.170.0030.00517.12
8.0.160.0000.00817.11
8.0.150.0000.00816.95
8.0.140.0040.00416.99
8.0.130.0050.00013.45
8.0.120.0030.00617.00
8.0.110.0030.00516.97
8.0.100.0020.00516.95
8.0.90.0040.00417.06
8.0.80.0130.01017.01
8.0.70.0040.00417.05
8.0.60.0050.00216.94
8.0.50.0040.00417.16
8.0.30.0090.01017.31
8.0.20.0060.01317.51
8.0.10.0000.00817.13
8.0.00.0120.00716.91
7.4.330.0000.00615.01
7.4.320.0000.00616.80
7.4.300.0060.00016.88
7.4.290.0040.00416.87
7.4.280.0000.00716.74
7.4.270.0030.00316.84
7.4.260.0000.00716.83
7.4.250.0000.00716.79
7.4.240.0020.00516.74
7.4.230.0030.00316.94
7.4.220.0130.00616.74
7.4.210.0120.00316.77
7.4.200.0030.00316.91
7.4.190.0000.00916.70
7.4.160.0170.00316.72
7.4.150.0130.00617.40
7.4.140.0060.01417.86
7.4.130.0090.00916.68
7.4.120.0120.01016.75
7.4.110.0120.01216.89
7.4.100.0160.00616.76
7.4.90.0070.01016.95
7.4.80.0070.01119.39
7.4.70.0140.00316.57
7.4.60.0030.01316.74
7.4.50.0000.00816.51
7.4.40.0060.00922.77
7.4.30.0120.00916.97
7.4.00.0060.01015.11
7.3.330.0050.00013.45
7.3.320.0000.00513.49
7.3.310.0040.00416.48
7.3.300.0030.00316.33
7.3.290.0120.00616.44
7.3.280.0090.01116.43
7.3.270.0060.01117.40
7.3.260.0060.01116.54
7.3.250.0140.00416.64
7.3.240.0100.00716.69
7.3.230.0060.01416.43
7.3.210.0090.00916.72
7.3.200.0090.01319.39
7.3.190.0130.00616.70
7.3.180.0060.01016.66
7.3.170.0090.00616.67
7.3.160.0030.01316.63
7.3.120.0070.00715.03
7.3.00.0100.00316.45
7.2.330.0090.00916.64
7.2.320.0070.01016.79
7.2.310.0130.00316.78
7.2.300.0070.01116.76
7.2.290.0080.00816.68
7.2.130.0060.00917.04
7.2.120.0040.00816.93
7.2.110.0060.00816.65
7.2.100.0030.01116.90
7.2.90.0030.00816.89
7.2.80.0030.01316.85
7.2.70.0070.00817.02
7.2.60.0050.00916.97
7.2.50.0050.00816.95
7.2.40.0070.00717.05
7.2.30.0060.00817.03
7.2.20.0070.00516.89
7.2.10.0070.00516.77
7.2.00.0050.00716.77
7.1.250.0120.00015.90
7.1.240.0000.01015.75
7.1.230.0060.00615.85
7.1.220.0060.00515.95
7.1.210.0060.00815.92
7.1.200.0070.00615.81
7.1.190.0070.00715.85
7.1.180.0120.00215.97
7.1.170.0070.00815.90
7.1.160.0070.00915.94
7.1.150.0060.00715.79
7.1.140.0060.00215.80
7.1.130.0040.00716.01
7.1.120.0050.00815.99
7.1.110.0080.00315.90
7.1.100.0080.00615.95
7.1.90.0050.00916.00
7.1.80.0030.00716.00
7.1.70.0020.01016.31
7.1.60.0060.01116.90
7.1.50.0090.00716.23
7.1.40.0070.00616.01
7.1.30.0050.01215.91
7.1.20.0070.00716.10
7.1.10.0020.00915.87
7.1.00.0040.03118.07
7.0.330.0030.01315.38
7.0.320.0100.00315.48
7.0.310.0040.00615.52
7.0.300.0050.00815.32
7.0.290.0020.00815.51
7.0.280.0070.00515.18
7.0.270.0040.00615.47
7.0.260.0030.00815.46
7.0.250.0020.01315.53
7.0.240.0070.00615.36
7.0.230.0030.01015.61
7.0.220.0040.00915.49
7.0.210.0040.00515.53
7.0.200.0060.00515.94
7.0.190.0010.01315.56
7.0.180.0050.00815.46
7.0.170.0070.00215.61
7.0.160.0020.01015.26
7.0.150.0040.00815.36
7.0.140.0020.03117.69
7.0.130.0030.00815.52
7.0.120.0080.00315.47
7.0.110.0040.00615.42
7.0.100.0080.02716.95
7.0.90.0060.03317.05
7.0.80.0060.02816.93
7.0.70.0090.01717.09
7.0.60.0030.03217.00
7.0.50.0090.02917.01
7.0.40.0080.03015.78
7.0.30.0070.03315.79
7.0.20.0030.03415.71
7.0.10.0040.03615.72
7.0.00.0070.03115.78
5.6.380.0060.00614.42
5.6.370.0050.01014.38
5.6.360.0080.00314.30
5.6.350.0090.00514.66
5.6.340.0040.00814.45
5.6.330.0060.00514.48
5.6.320.0050.00614.32
5.6.310.0060.00814.44
5.6.300.0030.00814.33
5.6.290.0020.01114.21
5.6.280.0060.03016.69
5.6.270.0060.00614.14
5.6.260.0060.00514.29
5.6.250.0060.01916.39
5.6.240.0070.03116.48
5.6.230.0050.03116.39
5.6.220.0050.03216.41
5.6.210.0060.02616.49
5.6.200.0070.03016.70
5.6.190.0070.03116.67
5.6.180.0100.02716.59
5.6.170.0040.02616.60
5.6.160.0080.03016.46
5.6.150.0070.03116.44
5.6.140.0070.02916.63
5.6.130.0070.02916.62
5.6.120.0070.03116.63
5.6.110.0040.03316.49
5.6.100.0060.03016.55
5.6.90.0050.03016.50
5.6.80.0040.03316.33
5.6.70.0090.02616.31
5.6.60.0070.03316.23
5.6.50.0070.02216.24
5.6.40.0110.02916.43
5.6.30.0060.03216.29
5.6.20.0100.02616.31
5.6.10.0060.03316.33
5.6.00.0120.02416.29
5.5.380.0030.03014.41
5.5.370.0050.01914.39
5.5.360.0040.03114.45
5.5.350.0050.02914.55
5.5.340.0070.03114.70
5.5.330.0020.01914.58
5.5.320.0050.02414.65
5.5.310.0020.03214.68
5.5.300.0080.02914.66
5.5.290.0080.02814.62
5.5.280.0080.02514.62
5.5.270.0060.02914.63
5.5.260.0050.02414.61
5.5.250.0060.02914.56
5.5.240.0040.03014.49
5.5.230.0030.03114.45
5.5.220.0080.02914.50
5.5.210.0040.03414.49
5.5.200.0050.03114.46
5.5.190.0070.02814.39
5.5.180.0080.02714.47
5.5.170.0090.00412.55
5.5.160.0040.03114.40
5.5.150.0070.03014.47
5.5.140.0050.03214.47
5.5.130.0060.02714.38
5.5.120.0070.02614.46
5.5.110.0030.03214.45
5.5.100.0100.02314.37
5.5.90.0060.01914.26
5.5.80.0110.02514.30
5.5.70.0040.02714.37
5.5.60.0070.03314.38
5.5.50.0050.02814.37
5.5.40.0060.02714.44
5.5.30.0090.01514.44
5.5.20.0050.02614.30
5.5.10.0110.02114.43
5.5.00.0060.03214.41
5.4.450.0050.02814.07
5.4.440.0090.01414.18
5.4.430.0050.03014.13
5.4.420.0010.02014.17
5.4.410.0090.02414.15
5.4.400.0090.02213.94
5.4.390.0070.02514.02
5.4.380.0060.01814.02
5.4.370.0050.02814.06
5.4.360.0060.02814.04
5.4.350.0050.02614.06
5.4.340.0110.02213.99
5.4.330.0070.00311.58
5.4.320.0080.02313.99
5.4.310.0060.02814.01
5.4.300.0070.02814.03
5.4.290.0040.03214.04
5.4.280.0070.02713.97
5.4.270.0080.01513.96
5.4.260.0070.02713.96
5.4.250.0030.03014.15
5.4.240.0120.02314.11
5.4.230.0110.02714.02
5.4.220.0070.02914.05
5.4.210.0090.02714.10
5.4.200.0040.03014.09
5.4.190.0060.02413.95
5.4.180.0040.03114.01
5.4.170.0060.01614.03
5.4.160.0100.01314.04
5.4.150.0050.02914.08
5.4.140.0070.02413.02
5.4.130.0060.02813.10
5.4.120.0090.02413.05
5.4.110.0040.03013.10
5.4.100.0060.01913.08
5.4.90.0060.02913.13
5.4.80.0040.02713.14
5.4.70.0050.02813.13
5.4.60.0060.02713.21
5.4.50.0060.02413.13
5.4.40.0090.02413.12
5.4.30.0020.03013.18
5.4.20.0070.02613.08
5.4.10.0080.02713.05
5.4.00.0070.02612.92
5.3.290.0020.03012.41
5.3.280.0080.01312.38
5.3.270.0040.03012.32
5.3.260.0080.02712.39
5.3.250.0040.02912.42
5.3.240.0110.02512.32
5.3.230.0070.02412.36
5.3.220.0090.02212.27
5.3.210.0050.02212.33
5.3.200.0040.03012.37
5.3.190.0090.02112.30
5.3.180.0050.02912.28
5.3.170.0060.02712.31
5.3.160.0030.02912.36
5.3.150.0030.02612.37
5.3.140.0070.02312.39
5.3.130.0040.03012.28
5.3.120.0090.02212.29
5.3.110.0050.02912.35
5.3.100.0060.02612.17
5.3.90.0070.02612.13
5.3.80.0090.02512.20
5.3.70.0060.02812.14
5.3.60.0040.02812.24
5.3.50.0050.02812.15
5.3.40.0050.03012.16
5.3.30.0080.02412.07
5.3.20.0050.03012.09
5.3.10.0070.02311.96
5.3.00.0030.02912.02
5.2.170.0080.02110.87
5.2.160.0020.02510.80
5.2.150.0030.02610.90
5.2.140.0040.02510.89
5.2.130.0020.01910.85
5.2.120.0070.02010.75
5.2.110.0030.02310.91
5.2.100.0050.02010.76
5.2.90.0050.01810.75
5.2.80.0060.01810.83
5.2.70.0050.02010.82
5.2.60.0040.02510.74
5.2.50.0100.01410.80
5.2.40.0060.02010.79
5.2.30.0070.02310.66
5.2.20.0010.02610.70
5.2.10.0050.02510.69
5.2.00.0070.02210.63
5.1.60.0030.01710.15
5.1.50.0030.02110.15
5.1.40.0050.01810.12
5.1.30.0050.01910.37
5.1.20.0040.02210.27
5.1.10.0030.02010.25
5.1.00.0050.01710.20
5.0.50.0050.0159.61
5.0.40.0040.0169.61
5.0.30.0030.0209.61
5.0.20.0050.0159.61
5.0.10.0040.0169.61
5.0.00.0060.0179.61
4.4.90.0040.0109.61
4.4.80.0040.0119.61
4.4.70.0010.0179.61
4.4.60.0000.0149.61
4.4.50.0020.0149.61
4.4.40.0020.0219.61
4.4.30.0030.0129.61
4.4.20.0010.0129.61
4.4.10.0020.0149.61
4.4.00.0030.0189.61
4.3.110.0010.0139.61
4.3.100.0010.0179.61
4.3.90.0030.0119.61
4.3.80.0030.0159.61
4.3.70.0030.0069.61
4.3.60.0040.0119.61
4.3.50.0000.0169.61
4.3.40.0030.0209.61
4.3.30.0010.0149.61
4.3.20.0010.0129.61
4.3.10.0020.0129.61
4.3.00.0030.0069.61

preferences:
45.08 ms | 401 KiB | 5 Q