3v4l.org

run code in 300+ PHP versions simultaneously
<?php $keywords = []; $keywords['general'] = [ 'fr' => [ '+auto +{Brand} ', '+Concessionnaire +{Brand}', '+offre +{Brand}', '+prix +{Brand}', '+Promotions +{Brand}', '+special +{Brand}', '+voitures +{Brand}', '+{Brand}', '+{Brand} +automobile', '+{Brand} +camion', '+{Brand} +camionnette', '+{Brand} +Canada', '+{Brand} +cars', '+{Brand} +dealer', '+{Brand} +minivan', '+{Brand} +neuf', '+{Brand} +new', '+{Brand} +offers', '+{Brand} +pick-up', '+{Brand} +pickup', '+{Brand} +price', '+{Brand} +rabais', '+{Brand} +site', '+{Brand} +suv', '+{Brand} +truck', '+{Brand} +vus', '+{Brand} +web', '+{Brand} +website', '+{Brand} +{CurrentYear}', '+{Brand} +{NextYear}', '+{Brand}.ca', '+{Brand}.com', ], ['en' => [ '+auto +{Brand}', '+Concessionnaire +{Brand}', '+offre +{Brand}', '+prix +{Brand}', '+Promotions +{Brand}', '+special +{Brand}', '+voitures +{Brand}', '+{Brand}', '+{Brand} +automobile', '+{Brand} +camion', '+{Brand} +camionnette', '+{Brand} +Canada', '+{Brand} +cars', '+{Brand} +dealer', '+{Brand} +minivan', '+{Brand} +neuf', '+{Brand} +new', '+{Brand} +offers', '+{Brand} +pick-up', '+{Brand} +pickup', '+{Brand} +price', '+{Brand} +rabais', '+{Brand} +site', '+{Brand} +suv', '+{Brand} +truck', '+{Brand} +vus', '+{Brand} +web', '+{Brand} +website', '+{Brand} +{CurrentYear}', '+{Brand} +{NextYear}', '+{Brand}.ca', '+{Brand}.com', ]] ]; $keywords['PHEV'] = [ 'fr' => [ '+voiture +rechargeable', '+auto +rechargeable', '+automobile +rechargeable', '+véhicule +rechargeable', '+vus +rechargeable', '+voiture +plug +in', '+plug +in +auto', '+auto +plug +in +hybride', '+vehicule +plug +in +hybride', '+voiture +phev', '+auto +phev', '+véhicule +phev', ], 'en' => [ '+phev +car', '+phev +auto', '+phev +vehicle', '+phev +suv', '+plug +in +car', '+plug +in +vehicle', '+plug +in +hybrid +car', '+plug +in +hybrid +auto', '+plug +in +suv', '+plugin +hybrid +car', '+plugin +suv', ], ]; $keywords['electric'] = [ 'fr' => [ '+voiture +électrique', '+auto +électrique', '+automobile +électrique', '+véhicule +électrique', '+voiture +branchable', '+auto +branchable', '+automobile +branchable', '+véhicule +branchable', '+vus +électrique', '+sedan +électrique', '+4 +portes +électrique', ], 'en' => [ '+electric +auto', '+electric +car', '+electric +vehicle', '+electric +suv', '+electric +4 +doors', '+plug-in +car', '+plugin +car', ] ]; $keywords['hybrid'] = [ 'fr' => [ '+voiture +hybride', '+auto +hybride', '+automobile +hybride', '+véhicule +hybride', '+vus +hybride', '+sedan +hybride', '+4 +portes +hybride', ], 'en' => [ '+hybrid +auto', '+hybrid +car', '+hybrid +vehicle', '+hybrid +suv', '+hybrid +4 +doors', ], ]; $fp = fopen('php://stdout', 'w'); foreach($keywords as $group => $languages ) { foreach($languages as $lang => $kwlist ) { foreach($kwlist as &$kw) { $kw = trim($kw); fputcsv($fp, [$group, $lang, $kw); } } }

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.10.0090.00620.07
8.5.00.0130.00316.45
8.4.160.0180.00519.38
8.4.150.0250.00619.48
8.4.140.0230.00717.71
8.4.130.0260.00817.72
8.4.120.0290.00717.85
8.4.110.0300.00817.72
8.4.100.0270.00617.83
8.4.90.0230.00617.77
8.4.80.0270.00517.79
8.4.70.0290.00617.48
8.4.60.0260.00517.58
8.4.50.0270.00617.65
8.4.40.0250.00617.68
8.4.30.0190.00517.43
8.4.20.0200.00617.67
8.4.10.0260.00617.48
8.3.290.0140.00618.37
8.3.280.0200.00818.22
8.3.270.0240.00917.51
8.3.260.0200.00616.69
8.3.250.0300.00816.65
8.3.240.0370.01117.40
8.3.230.0330.00916.63
8.3.220.0330.00816.79
8.3.210.0350.00416.61
8.3.200.0360.00916.58
8.3.190.0370.00716.69
8.3.180.0390.00516.53
8.3.170.0370.00616.65
8.3.160.0390.00616.67
8.3.150.0340.00916.62
8.3.140.0340.00616.80
8.3.130.0350.00616.66
8.3.120.0330.00916.56
8.3.110.0360.00816.70
8.3.100.0330.00616.70
8.3.90.0300.00516.82
8.3.80.0270.00816.64
8.3.70.0320.00516.58
8.3.60.0290.00816.47
8.3.50.0300.00316.48
8.3.40.0320.00817.76
8.3.30.0210.00417.71
8.3.20.0130.00417.87
8.3.10.0130.00417.70
8.3.00.0090.00917.89
8.2.300.0250.00517.85
8.2.290.0160.00216.53
8.2.280.0170.00616.63
8.2.270.0200.00516.42
8.1.340.0210.00717.35

preferences:
142.75 ms | 1005 KiB | 7 Q