3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<'EOT' <BANKACCTFROM> <BANKID>300000100 <ACCTID>6393732 <ACCTTYPE>CHECKING </BANKACCTFROM> EOT; $pattern = '%<BANKACCTFROM> (?=.*<BANKID>(?P<BANKID>[^<\s]+)) (?=.*<ACCTID>(?P<ACCTID>[^<\s]+)) (?=.*<ACCTTYPE>(?P<ACCTTYPE>[^<\s]+)) %sx'; preg_match($pattern, $xml, $m); var_dump($m);

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.0030.01318.55
8.3.50.0080.00816.41
8.3.40.0120.00318.82
8.3.30.0140.00018.84
8.3.20.0030.00619.02
8.3.10.0060.00321.95
8.3.00.0050.00323.52
8.2.180.0040.01125.92
8.2.170.0120.00318.81
8.2.160.0100.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0000.00721.12
8.2.110.0090.00020.53
8.2.100.0080.00319.57
8.2.90.0080.00017.88
8.2.80.0080.00018.92
8.2.70.0040.00417.63
8.2.60.0050.00317.75
8.2.50.0060.00617.75
8.2.40.0000.00917.75
8.2.30.0050.00221.04
8.2.20.0040.00417.90
8.2.10.0080.00017.90
8.2.00.0040.00419.39
8.1.280.0150.00625.92
8.1.270.0000.00723.99
8.1.260.0050.00326.35
8.1.250.0000.00928.09
8.1.240.0100.00023.71
8.1.230.0070.00420.89
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00517.35
8.1.190.0050.00317.22
8.1.180.0040.00418.10
8.1.170.0040.00418.93
8.1.160.0030.00518.78
8.1.150.0000.00818.92
8.1.140.0000.00719.10
8.1.130.0030.00619.09
8.1.120.0000.00717.53
8.1.110.0050.00317.45
8.1.100.0000.00717.61
8.1.90.0040.00417.59
8.1.80.0100.00017.48
8.1.70.0050.00217.42
8.1.60.0030.00617.63
8.1.50.0090.00017.50
8.1.40.0030.00517.68
8.1.30.0060.00317.76
8.1.20.0020.00517.74
8.1.10.0030.00617.70
8.1.00.0030.00617.51
8.0.300.0080.00018.77
8.0.290.0080.00016.88
8.0.280.0000.00718.47
8.0.270.0040.00417.15
8.0.260.0030.00317.14
8.0.250.0030.00517.09
8.0.240.0040.00417.07
8.0.230.0000.00717.13
8.0.220.0030.00316.92
8.0.210.0000.00716.93
8.0.200.0000.00617.09
8.0.190.0030.00617.11
8.0.180.0030.00517.10
8.0.170.0040.00417.14
8.0.160.0040.00417.13
8.0.150.0000.00917.02
8.0.140.0040.00417.03
8.0.130.0050.00013.50
8.0.120.0000.00817.03
8.0.110.0040.00416.97
8.0.100.0040.00416.99
8.0.90.0070.00017.16
8.0.80.0050.01617.05
8.0.70.0040.00416.88
8.0.60.0050.00316.93
8.0.50.0000.00717.11
8.0.30.0090.00817.22
8.0.20.0160.00217.45
8.0.10.0050.00217.04
8.0.00.0060.01516.92
7.4.330.0030.00315.55
7.4.320.0000.00916.67
7.4.300.0060.00016.75
7.4.290.0030.00316.65
7.4.280.0000.00716.80
7.4.270.0090.00016.70
7.4.260.0000.00716.62
7.4.250.0000.00816.59
7.4.240.0040.00416.62
7.4.230.0070.00016.51
7.4.220.0080.00016.79
7.4.210.0090.00716.67
7.4.200.0000.00716.61
7.4.160.0090.01016.74
7.4.140.0120.01017.86
7.4.130.0120.01216.74
7.4.120.0120.01016.70
7.4.110.0000.01816.57
7.4.100.0120.00616.68
7.4.90.0120.00616.59
7.4.80.0060.01619.39
7.4.70.0120.00616.60
7.4.60.0080.00816.63
7.4.50.0070.01116.53
7.4.40.0030.01716.67
7.4.00.0080.00815.12
7.3.330.0050.00013.23
7.3.320.0030.00313.10
7.3.310.0040.00416.20
7.3.300.0060.00016.19
7.3.290.0030.00316.36
7.3.280.0090.00916.38
7.3.260.0080.01016.47
7.3.240.0080.01216.48
7.3.230.0030.01316.41
7.3.210.0120.00616.50
7.3.200.0130.00316.60
7.3.190.0060.01016.39
7.3.180.0060.01016.56
7.3.170.0150.00316.31
7.3.160.0180.00316.54
7.2.330.0070.01316.54
7.2.320.0040.01316.64
7.2.310.0130.01016.58
7.2.300.0160.00716.46
7.2.290.0180.00016.68
7.2.80.0240.01014.79
7.2.70.0520.00614.82
7.2.60.0280.00615.09
7.2.50.0360.01115.16
7.2.40.0330.00815.03
7.2.30.0310.00314.95
7.2.20.0250.01114.91
7.2.10.0230.01615.06
7.2.00.0290.01315.07
7.1.200.0040.00415.65
7.1.190.0410.00913.96
7.1.180.0430.00413.91
7.1.170.0390.00914.19
7.1.160.0400.00314.08
7.1.150.0270.00314.10
7.1.140.0240.00814.13
7.1.130.0360.01114.01
7.1.120.0360.01214.16
7.1.110.0380.00413.89
7.1.100.0520.01814.01
7.1.90.0210.00513.91
7.1.80.0190.00813.82
7.1.70.0160.01113.83
7.1.60.0490.01532.12
7.1.50.0330.01632.11
7.1.40.0390.00632.04
7.1.30.0360.00931.56
7.1.20.0440.00331.89
7.1.10.0170.01013.97
7.1.00.0220.00514.07

preferences:
30.32 ms | 400 KiB | 5 Q