3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ligne = "J' [ Pronom Personnel Masculin Féminin Singulier Fonction(Gouverneur) FonctionGroupe(Sujet) ProfondeurSyntaxique(4) 'je'] "; $position_crochet = strpos($ligne, " [ "); //on cherche dans la ligne, la position qui nous intéresse (ici la FonctionGroupe()) //en prenant garde à chercher après l'offset ($position_crochet) $position_fonctiongroupe = strpos($ligne, "FonctionGroupe(",$position_crochet+2); echo $position_fonctiongroupe."<br>"; //jusqu'à la parenthese fermante de FonctionGroupe() $position_parenthese_fermante_fonctiongroupe = strpos($ligne, "et) ", $position_fonctiongroupe); echo $position_parenthese_fermante_fonctiongroupe."<br>"; }

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)
5.4.290.0270.04018.85
5.4.280.0270.04019.13
5.4.270.0270.03319.19
5.4.260.0270.04019.06
5.4.250.0200.04719.08
5.4.240.0130.04019.30
5.4.230.0200.04319.06
5.4.220.0270.03019.21
5.4.210.0170.04019.15
5.4.200.0130.04019.14
5.4.190.0200.03719.05
5.4.180.0170.04018.97
5.4.170.0170.05719.08
5.4.160.0170.03719.30
5.4.150.0230.03719.22
5.4.140.0200.04016.40
5.4.130.0170.04016.38
5.4.120.0170.03716.48
5.4.110.0130.03716.27
5.4.100.0230.03316.56
5.4.90.0170.03316.55
5.4.80.0170.03716.54
5.4.70.0270.02716.39
5.4.60.0170.03316.38
5.4.50.0200.04316.35
5.4.40.0200.03316.25
5.4.30.0170.03716.37
5.4.20.0170.03316.50
5.4.10.0170.03316.32
5.4.00.0200.03715.81
5.3.280.0170.03714.63
5.3.270.0170.04014.55
5.3.260.0200.04014.46
5.3.250.0200.03314.51
5.3.240.0170.04014.63
5.3.230.0170.03714.55
5.3.220.0170.03714.41
5.3.210.0170.03714.66
5.3.200.0200.03314.43
5.3.190.0200.04314.52
5.3.180.0130.03314.51
5.3.170.0200.04014.61
5.3.160.0300.03014.40
5.3.150.0270.02714.54
5.3.140.0130.04014.48
5.3.130.0170.03714.48
5.3.120.0100.04314.42
5.3.110.0200.04314.40
5.3.100.0130.04014.08
5.3.90.0130.04013.93
5.3.80.0200.03314.11
5.3.70.0230.03013.95
5.3.60.0200.03314.10
5.3.50.0170.03713.98
5.3.40.0200.03313.92
5.3.30.0200.03313.82
5.3.20.0200.03013.52
5.3.10.0170.04013.61
5.3.00.0200.03713.49

preferences:
144.17 ms | 1394 KiB | 7 Q