3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'oh loooong jhonson, miiiiauuu miiiaaaau'; for($i=0; $i < 10000; $i++) { preg_match('/miaau/', $string, array()); }

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.01018.30
8.3.50.0130.00421.87
8.3.40.0040.01118.88
8.3.30.0070.00719.04
8.3.20.0040.00420.35
8.3.10.0040.00420.52
8.3.00.0040.00419.26
8.2.180.0150.00416.88
8.2.170.0110.00322.96
8.2.160.0040.00920.35
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0070.00022.23
8.2.110.0110.00022.27
8.2.100.0090.00018.77
8.1.280.0090.00625.92
8.1.270.0080.00022.05
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0070.00318.63
8.1.230.0030.00618.54
5.4.320.0070.04212.47
5.4.310.0110.05012.46
5.4.300.0070.04112.47
5.4.290.0070.03712.46
5.4.280.0060.03512.37
5.4.270.0070.03712.36
5.4.260.0050.04012.36
5.4.250.0060.03812.36
5.4.240.0070.03512.36
5.4.230.0100.05012.36
5.4.220.0080.04012.36
5.4.210.0060.03712.35
5.4.200.0070.04112.36
5.4.190.0040.05612.35
5.4.180.0070.04612.35
5.4.170.0100.04712.36
5.4.160.0060.03612.36
5.4.150.0060.03612.35
5.4.140.0060.04112.04
5.4.130.0050.03712.03
5.4.120.0070.04611.98
5.4.110.0090.05311.98
5.4.100.0090.05611.98
5.4.90.0100.05211.97
5.4.80.0080.04311.98
5.4.70.0120.05311.97
5.4.60.0120.04411.98
5.4.50.0080.03911.98
5.4.40.0090.04311.96
5.4.30.0070.04211.95
5.4.20.0130.05411.95
5.4.10.0130.05411.96
5.4.00.0130.04911.45
5.3.290.0070.05712.80
5.3.280.0090.04912.70
5.3.270.0090.05212.73
5.3.260.0080.03912.72
5.3.250.0100.03712.72
5.3.240.0070.04112.72
5.3.230.0150.05612.71
5.3.220.0110.05512.68
5.3.210.0080.06012.68
5.3.200.0160.05512.68
5.3.190.0120.05012.68
5.3.180.0120.05312.67
5.3.170.0170.06612.67
5.3.160.0090.06212.67
5.3.150.0220.06712.67
5.3.140.0180.05912.66
5.3.130.0130.06012.66
5.3.120.0070.04312.66
5.3.110.0090.05112.66
5.3.100.0110.05512.12
5.3.90.0150.05812.08
5.3.80.0070.04012.07
5.3.70.0100.03712.08
5.3.60.0050.04812.06
5.3.50.0180.07012.00
5.3.40.0120.05812.00
5.3.30.0090.04511.94
5.3.20.0080.05111.72
5.3.10.0060.06111.69
5.3.00.0100.04911.68
5.2.170.0070.0479.18
5.2.160.0090.0409.18
5.2.150.0120.0399.18
5.2.140.0090.0419.18
5.2.130.0080.0399.13
5.2.120.0110.0399.14
5.2.110.0070.0429.14
5.2.100.0050.0419.14
5.2.90.0060.0429.14
5.2.80.0080.0329.14
5.2.70.0090.0339.14
5.2.60.0050.0349.09
5.2.50.0080.0339.06
5.2.40.0070.0489.04
5.2.30.0040.0329.01
5.2.20.0060.0309.00
5.2.10.0080.0428.93
5.2.00.0100.0468.78
5.1.60.0080.0268.06
5.1.50.0050.0398.06
5.1.40.0130.0518.05
5.1.30.0090.0368.39
5.1.20.0100.0428.41
5.1.10.0110.0508.14
5.1.00.0040.0378.15
5.0.50.0040.0346.62
5.0.40.0070.0236.48
5.0.30.0040.0336.29
5.0.20.0030.0206.26
5.0.10.0040.0246.24
5.0.00.0050.0406.23
4.4.90.0070.0204.78
4.4.80.0050.0224.75
4.4.70.0060.0214.75
4.4.60.0040.0234.75
4.4.50.0040.0224.77
4.4.40.0030.0344.71
4.4.30.0050.0224.76
4.4.20.0060.0204.84
4.4.10.0050.0214.85
4.4.00.0050.0324.76
4.3.110.0090.0184.67
4.3.100.0050.0244.67
4.3.90.0040.0164.63
4.3.80.0040.0244.58
4.3.70.0030.0144.63
4.3.60.0040.0144.62
4.3.50.0020.0164.63
4.3.40.0030.0244.54
4.3.30.0050.0193.28
4.3.20.0020.0193.26
4.3.10.0030.0213.22
4.3.00.0030.0236.91

preferences:
34.23 ms | 400 KiB | 5 Q