3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = '/(\w+) \(Vendeur : \'([^\']*)\' \/ Amazon : \'([^\']*)\'/m'; $s = 'correspondent à l\'ASIN B00WU8XXXX, mais les attributs suivants sont en conflit avec : product_type (Vendeur : \'APPLIANCE_ACCESSORY\' / Amazon : \'CLEANING_AGENT\'), ean (Vendeur : \'400650819XXXX\' / Amazon : \'400650819XXXX\'), item_package_quantity (Vendeur : \'5\' / Amazon : \'10\''; if(preg_match_all($pattern, $s, $matches, PREG_SET_ORDER)) { print_r(array_map(fn($m) => implode(" : ", array_slice($m, 1)), $matches)); }

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.4.20.0170.00322.33
8.4.10.0060.00323.75
8.3.150.0090.00920.51
8.3.140.0110.00718.61
8.3.130.0040.00817.00
8.3.120.0030.00619.20
8.3.110.0030.00620.94
8.3.100.0090.00016.75
8.3.90.0080.00026.77
8.3.80.0060.00319.36
8.3.70.0160.00616.89
8.3.60.0130.01016.88
8.3.50.0070.01016.94
8.3.40.0110.00421.98
8.3.30.0070.00720.31
8.3.20.0080.00024.18
8.3.10.0070.00724.66
8.3.00.0040.00426.16
8.2.270.0150.00417.32
8.2.260.0040.00420.39
8.2.250.0120.00616.52
8.2.240.0030.00619.07
8.2.230.0080.00822.58
8.2.220.0090.00024.06
8.2.210.0050.00326.77
8.2.200.0000.00918.88
8.2.190.0130.00916.75
8.2.180.0150.00416.60
8.2.170.0130.00719.14
8.2.160.0150.00622.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00726.16
8.2.110.0160.00619.34
8.2.100.0080.00318.03
8.2.90.0180.00018.77
8.2.80.0170.00018.77
8.2.70.0180.00018.77
8.2.60.0110.00718.77
8.2.50.0160.00418.77
8.2.40.0120.00618.77
8.2.30.0110.00718.77
8.2.20.0090.00918.77
8.2.10.0130.00318.77
8.2.00.0120.00618.77
8.1.310.0080.00016.84
8.1.300.0070.01018.19
8.1.290.0060.00330.84
8.1.280.0080.00825.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.01020.93
8.1.230.0030.00917.64
8.1.220.0090.00918.77
8.1.210.0080.01118.77
8.1.200.0130.00618.77
8.1.190.0110.00718.77
8.1.180.0060.01218.77
8.1.170.0080.00818.77
8.1.160.0120.00518.77
8.1.150.0140.00318.77
8.1.140.0100.00718.77
8.1.130.0110.00618.77
8.1.120.0130.00418.77
8.1.110.0170.00018.77
8.1.100.0130.00418.77
8.1.90.0160.00318.77
8.1.80.0170.00018.77
8.1.70.0120.00618.77
8.1.60.0150.00518.77
8.1.50.0220.00018.77
8.1.40.0040.01318.77
8.1.30.0160.00418.77
8.1.20.0150.00418.77
8.1.10.0110.00718.77
8.1.00.0170.00318.77
8.0.300.0080.00018.77
8.0.290.0120.00618.77
8.0.280.0120.00418.77
8.0.270.0080.01118.77
8.0.260.0100.00718.77
8.0.250.0100.00718.77
8.0.240.0190.00018.77
8.0.230.0110.00818.77
8.0.220.0160.00018.77
8.0.210.0150.00218.77
8.0.200.0120.00518.77
8.0.190.0110.00818.77
8.0.180.0100.00718.77
8.0.170.0200.00018.77
8.0.160.0140.00418.77
8.0.150.0120.00618.77
8.0.140.0080.00818.77
8.0.130.0170.00018.77
8.0.120.0130.00418.77
8.0.110.0140.00318.77
8.0.100.0090.00918.77
8.0.90.0180.00018.77
8.0.80.0110.00618.77
8.0.70.0160.00318.77
8.0.60.0140.00518.77
8.0.50.0100.00818.77
8.0.30.0090.00918.77
8.0.20.0130.00318.77
8.0.10.0110.00718.77

preferences:
32.39 ms | 403 KiB | 5 Q