3v4l.org

run code in 300+ PHP versions simultaneously
<?php $motif = '~\bAncré\b~u'; $textes = array('Ancré', 'ancré', ' Ancré', ' ancré', 'Ancrés', 'ancrés', ' Ancrés', ' ancrés', 'Ancré,'); foreach($textes as $texte) { if (preg_match($motif, ' ' . $texte)) { echo 'Jes ', $motif, ' |', $texte, '|<br />', PHP_EOL; } else { echo '<em>Ne ', $motif, ' |', $texte, '|</em><br />', PHP_EOL; } }

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.00.0160.00620.31
8.4.150.0020.00014.05
8.4.140.0150.00717.78
8.4.130.0130.00718.64
8.4.120.0090.01220.37
8.4.110.0120.00818.93
8.4.100.0120.00918.24
8.4.90.0070.00218.84
8.4.80.0120.00519.58
8.4.70.0040.00418.06
8.4.60.0110.01118.89
8.4.50.0140.00625.96
8.4.40.0080.00017.78
8.4.30.0050.00320.77
8.4.20.0100.01017.84
8.4.10.0030.01622.17
8.3.280.0080.01218.64
8.3.270.0130.00616.56
8.3.260.0100.01016.56
8.3.250.0100.00917.48
8.3.240.0130.00716.97
8.3.230.0100.00616.86
8.3.220.0040.00419.05
8.3.210.0080.01118.66
8.3.200.0060.00216.73
8.3.190.0120.01116.98
8.3.180.0110.00816.98
8.3.170.0090.00917.01
8.3.160.0160.00318.81
8.3.150.0030.01420.59
8.3.140.0040.01118.59
8.3.130.0000.00818.54
8.3.120.0100.00719.07
8.3.110.0110.00020.94
8.3.100.0060.00324.06
8.3.90.0080.00026.77
8.3.80.0080.00017.00
8.3.70.0120.00318.38
8.3.60.0160.00318.57
8.3.50.0070.00716.65
8.3.40.0080.01221.90
8.3.30.0070.00719.23
8.3.20.0000.00924.18
8.3.10.0030.00524.66
8.3.00.0080.00026.16
8.2.290.0130.00720.51
8.2.280.0090.01018.74
8.2.270.0150.00318.84
8.2.260.0030.00519.07
8.2.250.0080.00016.70
8.2.240.0000.00717.30
8.2.230.0050.00322.58
8.2.220.0040.00437.54
8.2.210.0160.00326.77
8.2.200.0030.00616.63
8.2.190.0100.01018.79
8.2.180.0100.01018.56
8.2.170.0140.00019.21
8.2.160.0030.01022.96
8.2.150.0080.00025.66
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0070.00320.69
8.2.110.0090.00020.43
8.2.100.0090.00019.27
8.2.90.0090.00519.55
8.1.330.0150.00418.06
8.1.320.0110.01016.35
8.1.310.0060.01316.43
8.1.300.0130.00619.97
8.1.290.0080.00330.84
8.1.280.0070.00725.92
8.1.270.0000.00724.66
8.1.260.0030.00626.35
8.1.250.0050.00328.09
8.1.240.0040.00718.74
8.1.230.0000.01018.75
5.4.00.0040.00416.80
5.3.290.0100.00816.80
5.3.100.0110.00916.80
5.3.50.0100.00416.80
5.3.40.0150.00116.80
5.3.30.0200.00016.80
5.3.10.0130.00516.80
5.3.00.0070.00416.80
5.2.170.0100.00316.80
5.1.30.0040.00516.80

preferences:
33.11 ms | 403 KiB | 5 Q