3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 'boolformfieldcommentuserinchargedisplay', 'strformfieldcommentuserinchargelabel', 'strformfieldcommentuserinchargehelp', 'strformfieldcommentuserinchargedefaultvalue', 'boolformfieldcommentuserintervieweddisplay', 'strformfieldcommentuserinterviewedlabel', 'strformfieldcommentuserinterviewedhelp', 'strformfieldcommentuserintervieweddefaultvalue' ); $formparam = 'S:Widget Tab Begin::::24:::CU::::U::::::::::::::::::::::::::::::::::::::::::::::::|S:Entretien professionnel::::0::N:BT::::U::::::::::::::::::::::::entretienpro.php?entretienproid={lngid}&search={strsearch}&tab=0::::::::::strtoptabs::::::::::::::|S:Parcours professionnel::::1::N:BT::::U::::::::::::::::::::::::entretienpro2.php?entretienproid={lngid}&search={strsearch}&tab=1::::::::::strtoptabs::::::::::::::|S:Formations suivies et certifications acquises::::2::N:BT::::U::::::::::::::::::::::::entretienpro3.php?entretienproid={lngid}&search={strsearch}&tab=2::::::::::strtoptabs::::::::::::::|S:Evolution professionnelle::::3::N:BT::::U::::::::::::::::::::::::entretienpro4.php?entretienproid={lngid}&search={strsearch}&tab=3::::::::::strtoptabs::::::::::::::|S:Validation::::4::N:BT::::U::::::::::::::::::::::::entretienpro5.php?entretienproid={lngid}&search={strsearch}&tab=4::::::::::strtoptabs::::::::::::::|S:Widget Tab End::::26:::CU::::U::::::::::::::::::::::::::::::::::::::::::::::::|S:Salarié entretenu:ID_USER:lnguserid:userid:::N:H::::U::::::::Choisissez un utilisateur:0:T_WC_USER:DISPLAY_ORDER:ID_USER:DESCRIPTION:DELETED=0::::::::::::::::::::::::::::::::::|COND({boolformfieldshorttermcareerplansblockdisplay} AND $customright["S"]):{strformfieldshorttermcareerplansblocklabel}:::::::N::::COND({boolformfieldshorttermcareerplansblockdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldshorttermcareerplanswishdisplay} AND $customright["S"]):{strformfieldshorttermcareerplanswishlabel}<span class="entretien-pro-help">{strformfieldshorttermcareerplanswishhelp}</span>:COMMENTS_5:strcomments5:comments5::5000:C:E:100:5:1:COND({boolformfieldshorttermcareerplanswishdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldshorttermcareerplansproposaldisplay} AND $customright["S"]):{strformfieldshorttermcareerplansproposallabel}<span class="entretien-pro-help">{strformfieldshorttermcareerplansproposalhelp}</span>:COMMENTS_6:strcomments6:comments6::5000:C:E:100:5:1:COND({boolformfieldshorttermcareerplansproposaldisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldmediumtermcareerplansblockdisplay} AND $customright["S"]):{strformfieldmediumtermcareerplansblocklabel}:::::::N::::COND({boolformfieldmediumtermcareerplansblockdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldmediumcareerplanswishdisplay} AND $customright["S"]):{strformfieldmediumcareerplanswishlabel}<span class="entretien-pro-help">{strformfieldmediumcareerplanswishhelp}</span>:COMMENTS_7:strcomments7:comments7::5000:C:E:100:5:1:COND({boolformfieldmediumcareerplanswishdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldmediumcareerplansproposaldisplay} AND $customright["S"]):{strformfieldmediumcareerplansproposallabel}<span class="entretien-pro-help">{strformfieldmediumcareerplansproposalhelp}</span>:COMMENTS_8:strcomments8:comments8::5000:C:E:100:5:1:COND({boolformfieldmediumcareerplansproposaldisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldassetsbrakesblockdisplay} AND $customright["S"]):{strformfieldassetsbrakesblocklabel}:::::::N::::COND({boolformfieldassetsbrakesblockdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldassetsbrakesblockdisplay} AND $customright["S"])::COMMENTS_9:strcomments9:comments9::5000:C:E:100:5:1:COND({boolformfieldassetsbrakesblockdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldresourcestomobilizedblockdisplay} AND $customright["S"]):{strformfieldresourcestomobilizedblocklabel}:::::::N::::COND({boolformfieldresourcestomobilizedblockdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldresourcestomobilizedblockdisplay} AND $customright["S"])::COMMENTS_10:strcomments10:comments10::5000:C:E:100:5:1:COND({boolformfieldresourcestomobilizedblockdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldisreceivedinformationaboutcepdisplay} AND $customright["S"]):{strformfieldisreceivedinformationaboutceplabel}<span class="entretien-pro-help">{strformfieldisreceivedinformationaboutcephelp}</span>:ID_YES_NO7:lngconseilevol:conseilevol:::N:C::::COND({boolformfieldisreceivedinformationaboutcepdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldnoncertifiedtrainingenvisagedblockdisplay} AND $customright["S"]):{strformfieldnoncertifiedtrainingenvisagedblocklabel}:::::::N::::COND({boolformfieldnoncertifiedtrainingenvisagedblockdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldaddnoncertifiedtrainingenvisageddisplay} AND $customright["S"]):{strformfieldaddnoncertifiedtrainingenvisagedlabel}<span class="entretien-pro-help">{strformfieldaddnoncertifiedtrainingenvisagedhelp}</span>:::addtrahist:::MF:MF::::COND({boolformfieldaddnoncertifiedtrainingenvisageddisplay} AND $customright["U"]):::::::::::T_WC_TRAIN_HIST.ID_TRAIN_HIST:::T_WC_TRAIN_HIST.DELETED=0 AND T_WC_TRAIN_HIST.ANNEE=2 AND T_WC_TRAIN_HIST.ID_USER={lnguserid} AND T_WC_TRAIN_HIST.DAT_TRAIN_HIST_DAT_BEGIN > (SELECT DAT_ENTRETIEN_PRO FROM T_WC_ENTRETIEN_PRO WHERE ID_ENTRETIEN_PRO={lngid})::::::::::cpamtrahist.php:::?trahistid={lngmfeditid}::?formcase=I&userid={lnguserid}&entretienproid={lngid}&yesnoid=2::::2::entretienpro5.php?entretienproid={entretienproid}&tab=4&formcase=E:::::::::::::|COND({boolformfieldcertifiedtrainingenvisagedblockdisplay} AND $customright["S"]):{strformfieldcertifiedtrainingenvisagedblocklabel}:::::::N::::COND({boolformfieldcertifiedtrainingenvisagedblockdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldaddcertifiedtrainingenvisageddisplay} AND $customright["S"]):{strformfieldaddcertifiedtrainingenvisagedlabel}<span class="entretien-pro-help">{strformfieldaddcertifiedtrainingenvisagedhelp}</span>:::addtrahist2:::MF:MF::::COND({boolformfieldaddcertifiedtrainingenvisageddisplay} AND $customright["U"]):::::::::::T_WC_TRAIN_HIST.ID_TRAIN_HIST:::T_WC_TRAIN_HIST.DELETED=0 AND T_WC_TRAIN_HIST.ANNEE=1 AND T_WC_TRAIN_HIST.ID_USER={lnguserid} AND T_WC_TRAIN_HIST.DAT_TRAIN_HIST_DAT_BEGIN > (SELECT DAT_ENTRETIEN_PRO FROM T_WC_ENTRETIEN_PRO WHERE ID_ENTRETIEN_PRO={lngid})::::::::::cpamtrahist.php:::?trahistid={lngmfeditid}::?formcase=I&userid={lnguserid}&entretienproid={lngid}&yesnoid=1::::2::entretienpro5.php?entretienproid={entretienproid}&tab=4&formcase=E:::::::::::::|COND({boolformfieldotheractionsenvisagedblockdisplay} AND $customright["S"]):{strformfieldotheractionsenvisagedblocklabel}:::::::N::::COND({boolformfieldotheractionsenvisagedblockdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldaddactionenvisageddisplay} AND $customright["S"]):{strformfieldaddactionenvisagedlabel}<span class="entretien-pro-help">{strformfieldaddactionenvisagedhelp}</span>:::addtut:::MF:MF::::COND({boolformfieldaddactionenvisageddisplay} AND $customright["U"]):::::::::::T_WC_TUTORIAL.ID_TUTORIAL:::T_WC_TUTORIAL.DELETED=0 AND T_WC_TUTORIAL.ID_USER={lnguserid} AND T_WC_TUTORIAL.DAT_TUTORIAL > (SELECT DAT_ENTRETIEN_PRO FROM T_WC_ENTRETIEN_PRO WHERE ID_ENTRETIEN_PRO={lngid})::::::::::cpamtut.php:::?tutid={lngmfeditid}::?formcase=I&userid={lnguserid}&entretienproid={lngid}::::2::entretienpro5.php?entretienproid={entretienproid}&tab=4&formcase=E:::::::::::::|COND({boolformfieldsynthesisinterviewblockdisplay} AND $customright["S"]):{strformfieldsynthesisinterviewblocklabel}:::::::N::::COND({boolformfieldsynthesisinterviewblockdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldcommentuserinchargedisplay} AND $customright["S"]):{strformfieldcommentuserinchargelabel}<span class="entretien-pro-help">{strformfieldcommentuserinchargehelp}</span>:COMMENTS_11:strcomments11:comments11::5000:C:E:100:5:1:COND({boolformfieldcommentuserinchargedisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldcommentuserintervieweddisplay} AND $customright["S"]):{strformfieldcommentuserinterviewedlabel}<span class="entretien-pro-help">{strformfieldcommentuserinterviewedhelp}</span>:COMMENTS_12:strcomments12:comments12::5000:C:E:100:5:1:COND({boolformfieldcommentuserintervieweddisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|COND({boolformfieldisasktomeetrhdisplay} AND $customright["S"]):{strformfieldisasktomeetrhlabel}<span class="entretien-pro-help">{strformfieldisasktomeetrhhelp}</span>:ID_YES_NO8:lngdemandeuser:demandeuser:::N:C::::COND({boolformfieldisasktomeetrhdisplay} AND $customright["U"])::::::::::::::::::::::::::::::::::::::::::::::::|S:::strespace:espace:<strong>Signature du collaborateur</strong>:5000:C:N2:500:150:1:U::3::::::::::::::::::::::::::::::::::::::::::::::|S:::strespace3:espace::5000:C:N2:500:150:1:U::3::::::::::::::::::::::::::::::::::::::::::::::|S:::strespace2:espace2:<strong>Signature de la personne chargée de l\'entretien</strong>:5000:C:N2:500:150:1:U::3::::::::::::::::::::::::::::::::::::::::::::::|S:::strespace4:espace4::5000:C:N2:500:150:1:U::3::::::::::::::::::::::::::::::::::::::::::::::|S:Etat de l\'évaluation:ID_EVAL_STATUS:lngetateval:etateval:::N:H::::U::::::::Choisissez un état d\'évaluation:0:T_WC_EVAL_STATUS:DISPLAY_ORDER:ID_EVAL_STATUS:DESCRIPTION:DELETED=0::::::::::::::::::::::::::::::::::|S:Ancien état de l\'évaluation:ID_EVAL_STATUS_PREV:lngetatevalprev:etatevalprev:::N:H::::U::::::::Choisissez un état d\'évaluation:0:T_WC_EVAL_STATUS:DISPLAY_ORDER:ID_EVAL_STATUS:DESCRIPTION:DELETED=0::::::::::::::::::::::::::::::::::|'; $pattern = "/{(bool|str)formfield[a-z]+}/"; function callback($matches) { return trim(trim($matches[0], '{'), '}'); } echo preg_replace_callback($pattern, 'callback', $formparam);

preferences:
43.4 ms | 402 KiB | 5 Q