3v4l.org

run code in 500+ PHP versions simultaneously
<?php $seats = "B7G12D9"; $pat = "/([A-Z]\d+)/"; preg_match_all($pat, $seats, $matches); $seatArray = $matches[0]; var_dump($seatArray);

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.5.70.0030.00516.93
8.5.60.0050.00317.01
8.5.50.0080.01116.51
8.5.30.0120.00519.51
8.5.20.0090.00920.37
8.5.10.0070.01020.14
8.5.00.0120.00920.15
8.4.210.0100.00419.63
8.4.180.0150.00922.18
8.4.170.0120.01020.56
8.4.160.0120.00923.80
8.4.150.0060.00617.92
8.4.140.0150.00617.75
8.4.130.0050.00417.85
8.4.120.0140.00720.52
8.4.110.0090.00922.61
8.4.100.0070.01218.13
8.4.90.0110.00818.96
8.4.80.0140.00618.02
8.4.70.0140.01019.82
8.4.60.0140.00718.85
8.4.50.0130.00725.88
8.4.40.0080.01119.45
8.4.30.0090.01020.61
8.4.20.0130.00720.02
8.4.10.0030.00623.54
8.3.300.0090.01220.93
8.3.290.0120.00920.92
8.3.280.0130.01118.62
8.3.270.0100.01116.55
8.3.260.0130.00716.36
8.3.250.0120.00818.98
8.3.240.0120.00816.30
8.3.230.0110.00816.68
8.3.220.0120.00617.15
8.3.210.0110.00816.78
8.3.200.0030.00616.38
8.3.190.0110.00816.98
8.3.180.0100.00616.50
8.3.170.0150.00616.70
8.3.160.0150.00318.49
8.3.150.0030.00718.41
8.3.140.0030.01518.93
8.3.130.0060.00318.63
8.3.120.0030.00620.65
8.3.110.0030.00620.94
8.3.100.0060.00324.06
8.3.90.0080.00026.77
8.3.80.0060.00319.36
8.3.70.0140.00716.63
8.3.60.0090.00618.30
8.3.50.0070.00718.36
8.3.40.0060.01320.46
8.3.30.0110.01118.98
8.3.20.0040.00424.18
8.3.10.0030.00624.66
8.3.00.0040.00426.16
8.2.300.0120.00822.15
8.2.290.0120.00620.29
8.2.280.0140.00518.65
8.2.270.0060.00917.30
8.2.260.0070.00318.43
8.2.250.0090.00618.54
8.2.240.0030.00619.18
8.2.230.0080.00022.58
8.2.220.0040.00437.54
8.2.210.0070.01026.77
8.2.200.0090.00018.88
8.2.190.0150.00016.58
8.2.180.0130.00716.88
8.2.170.0170.00319.09
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0140.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00821.05
8.2.110.0090.01221.12
8.2.100.0130.00017.97
8.2.90.0050.00318.03
8.2.80.0080.00019.16
8.2.70.0040.00417.75
8.2.60.0040.00417.75
8.2.50.0040.00417.55
8.2.40.0090.00019.65
8.2.30.0000.00719.12
8.2.20.0040.00420.61
8.2.10.0000.01518.99
8.2.00.0100.00518.91
8.1.340.0110.00917.85
8.1.330.0100.00922.00
8.1.320.0110.00916.25
8.1.310.0050.00318.70
8.1.300.0080.00018.19
8.1.290.0040.00430.84
8.1.280.0140.00725.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0060.00321.24
8.1.230.0070.00420.84
8.1.220.0000.00817.78
8.1.210.0050.00318.77
8.1.200.0030.00517.51
8.1.190.0000.00917.35
8.1.180.0070.00718.10
8.1.170.0030.00517.62
8.1.160.0040.00418.90
8.1.150.0040.01118.73
8.1.140.0070.00718.63
8.1.130.0100.00518.76
8.1.120.0050.01018.71
8.1.110.0130.00318.65
8.1.100.0030.01318.75
8.1.90.0120.00318.78
8.1.80.0110.00518.79
8.1.70.0060.01218.66
8.1.60.0150.00518.90
8.1.50.0150.00418.74
8.1.40.0090.00818.84
8.1.30.0130.00618.93
8.1.20.0190.00018.90
8.1.10.0160.00318.91
8.1.00.0160.00218.85
8.0.300.0000.00720.21
8.0.290.0000.00716.75
8.0.280.0000.00718.39
8.0.270.0080.00817.93
8.0.260.0080.00917.97
8.0.250.0140.00218.13
8.0.240.0060.00618.12
8.0.230.0120.00018.14
8.0.220.0110.00417.98
8.0.210.0130.00318.07
8.0.200.0160.00018.04
8.0.190.0000.01518.00
8.0.180.0110.00618.15
8.0.170.0080.00818.07
8.0.160.0140.00318.14
8.0.150.0100.00317.99
8.0.140.0110.00318.06
8.0.130.0160.00018.09
8.0.120.0040.01318.05
8.0.110.0150.00018.06
8.0.100.0100.00517.98
8.0.90.0160.00017.86
8.0.80.0110.00318.06
8.0.70.0000.01418.06
8.0.60.0160.00018.06
8.0.50.0000.01518.03
8.0.30.0110.00718.01
8.0.20.0130.00318.08
8.0.10.0090.00618.11

preferences:
100.42 ms | 1127 KiB | 5 Q