3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array(array("full_name" => "ALL SAINTS N/P SCHOOL", "abbr" => "ASPS"), array("full_name" => "AMATER AMABILI SEC SCH", "abbr" => "AASS"), array("full_name" => "AMATER AMABILIS SCHOOL N/P ISUNJABA", "abbr" => "AASP"), array("full_name" => "ARCH ANGEL N/P SCHOOL EZIAMA ", "abbr" => "AAPSE"), array("full_name" => "BISHOP SHANANA COLLEGE", "abbr" => "BAC"), array("full_name" => "COR MARIAE HIGH SCHOOL", "abbr" => "CMHS"), array("full_name" => "DAUGTHERS OF MARY MOTHER OF MERCY ", "abbr" => "DMMM"), array("full_name" => "FATHER COURTNEY MEMORIAL SCHOOL", "abbr" => "FCMS"), array("full_name" => "HOLY CROSS N/P SCHOOL OBODUKWU", "abbr" => "HCPSO"), array("full_name" => "HOLY GHOST N/P SCHOOL", "abbr" => "HGPS"), array("full_name" => "HOLY GHOST SECONDARY SCHOOL", "abbr" => "HGSS"), array("full_name" => "HOLY ROSARY", "abbr" => "HOR"), array("full_name" => "HOLY TRINITY", "abbr" => "HOT"), array("full_name" => "HOLY TRINITY N/P SCHOOL", "abbr" => "HTPS"), array("full_name" => "MARIA GORRETTI GIRLS SEC SCHOOL", "abbr" => "MGGSS"), array("full_name" => "MARIA GORRETTI N/P SCH UMUNA", "abbr" => "MGPSU"), array("full_name" => "MATER AMABILIS SEC SCHOOL", "abbr" => "MASS"), array("full_name" => "MOSIGNOR UBA MEM N/P SCHOOL", "abbr" => "MUMPS"), array("full_name" => "NINA’S N/P SCHOOL OBIBI OCHASI", "abbr" => "NPSOO"), array("full_name" => "PAX CHRIST COLLEGE", "abbr" => "PCC"), array("full_name" => "POPE JOHN PAUL 2ND N/P SCHOOL", "abbr" => "PJPPS"), array("full_name" => "QUEEN OF APOSTLES N/P SCHOOL", "abbr" => "QAP"), array("full_name" => "SACRED HEART INTL N/P SCHOOL", "abbr" => "SHIPS"), array("full_name" => "SACRED HEART INTL SEC SCHOOL", "abbr" => "SHISS"), array("full_name" => "SACRED HEART MODEL SEC SCH AMARURU", "abbr" => "SHMSSA"), array("full_name" => "SACRED HEART N/P SCHOOL AMARURU", "abbr" => "SHPSA"), array("full_name" => "SANCTA MARIA SEC SCH UMAKA", "abbr" => "SMSSU"), array("full_name" => "SANCTA MARIS SEC SCHOOL ASSAH", "abbr" => "SMSSA"), array("full_name" => "SANCTA THERESA SEC SCHOOL", "abbr" => "STSS"), array("full_name" => "SANTAC MARIA N/P SCH UMUAKA", "abbr" => SMPSUM ), array("full_name" => "ST BARNABAS N/P SCHOOL", "abbr" => "SBPS"), array("full_name" => "ST BARNABAS SEC SCH AKOKWA", "abbr" => "SBSSA"), array("full_name" => "ST BASIL DE GREAT", "abbr" => "SBDG"), array("full_name" => "ST CHARLES LWANGA MODEL SEC SCH", "abbr" => "SCLSS"), array("full_name" => "ST DOMINIC SAVIO", "abbr" => "SDS"), array("full_name" => "ST FELIX N/P SCHOOL AKOKWA", "abbr" => "SFPSA"), array("full_name" => "ST FIDELIS N/P SCH ATTA NJABA", "abbr" => "SFPSAN"), array("full_name" => "ST GREGORY AMIRI", "abbr" => "SGA"), array("full_name" => "ST JOHN N/P SCHOOL URUALLA", "abbr" => "STPSU"), array("full_name" => "ST JOHN SEC SCHOOL URUALLA", "abbr" => "SJSS"), array("full_name" => "ST JOSEPH AMBROSA", "abbr" => "SJAS"), array("full_name" => "ST JOSEPH AMBROSA SEC SCH", "abbr" => "SASS"), array("full_name" => "ST JOSEPH N/P SCH OKPORO", "abbr" => "SJPSO"), array("full_name" => "ST JOSEPH NUR/PRY MGBIDI", "abbr" => "SJM"), array("full_name" => "ST JOSEPH SEC SCH MGBIDI", "abbr" => "SJSSM"), array("full_name" => "ST JOSEPH SEC SCH OBIBI OCHASI", "abbr" => "SJSSOO"), array("full_name" => "ST JOSEPH SEC SCHOOL ORLU", "abbr" => "SJSSO"), array("full_name" => "ST JUDE’S N/P SCHOOL AMURIE OMANZE", "abbr" => "SJPS"), array("full_name" => "ST KIZITO SEC SCHOOL", "abbr" => "SKSS"), array("full_name" => "ST MARTINS DE TOURS N/P SCH. EZIAWA", "abbr" => "SMDTPS"), array("full_name" => "ST MARY N/P SCHOOL UMUOWA", "abbr" => "SMP"), array("full_name" => "ST MARY N/P SCHOOL UMUOWA", "abbr" => "SMPSU"), array("full_name" => "ST MICHAEL N/P SCH ABAJAH", "abbr" => "SMPSAB"), array("full_name" => "ST MICHAEL N/P SCH AKATTA", "abbr" => "SMPSA"), array("full_name" => "ST MICHAEL N/P SCH IHIOMA", "abbr" => "SMPSI"), array("full_name" => "ST MICHEAL N/P SCHOL", "abbr" => "SMS"), array("full_name" => "ST MICHEAL N/P URUALLA", "abbr" => "SMPU"), array("full_name" => "ST MONICA INTER SEC. SCH", "abbr" => "SMISS"), array("full_name" => "ST MONICA INTL N/P SCHOOL NKWERRE", "abbr" => "SMIPSN"), array("full_name" => "ST PATRICK N/P SCH OGBERURU", "abbr" => "STPPSO"), array("full_name" => "ST PATRICK N/P SCHOOL AMUCHA", "abbr" => "SPPSA"), array("full_name" => "ST PATRICKS N/P SCHOOL AWO MAMMA", "abbr" => "SPPSAM"), array("full_name" => "ST PAUL N/P SCH", "abbr" => "SPPS"), array("full_name" => "ST PAUL N/P SCHOOL NJABA", "abbr" => "SPPSN"), array("full_name" => "ST PETER N/P SCHOOL AMIKE", "abbr" => "SPPS"), array("full_name" => "ST SAVIOUR SCHOOL ORLU", "abbr" => "SSS"), array("full_name" => "ST THERESA COMP SEC SCH MBATO", "abbr" => "STCSSM"), array("full_name" => "ST THERESA N/P SCH MBATO", "abbr" => "STPSM"), array("full_name" => "ST THERESA N/P SCH ULI", "abbr" => "STPSUL"), array("full_name" => "ST THOMAS AQUAINAS SEC SCH.", "abbr" => "STASS"), array("full_name" => "STELLA MARIS N/P SCH AMIRI", "abbr" => "STMPSA"), array("full_name" => "URBAN SEC SCHOOL", "abbr" => "USS") ); foreach ($arr as $row) { printf("%s -> %s PHP_EOL\n\r", $row['abbr'], $row['full_name']); }
based on vukWM
Output for 7.2.0
Warning: Use of undefined constant SMPSUM - assumed 'SMPSUM' (this will throw an Error in a future version of PHP) in /in/BjFb1 on line 32 ASPS -> ALL SAINTS N/P SCHOOL PHP_EOL AASS -> AMATER AMABILI SEC SCH PHP_EOL AASP -> AMATER AMABILIS SCHOOL N/P ISUNJABA PHP_EOL AAPSE -> ARCH ANGEL N/P SCHOOL EZIAMA PHP_EOL BAC -> BISHOP SHANANA COLLEGE PHP_EOL CMHS -> COR MARIAE HIGH SCHOOL PHP_EOL DMMM -> DAUGTHERS OF MARY MOTHER OF MERCY PHP_EOL FCMS -> FATHER COURTNEY MEMORIAL SCHOOL PHP_EOL HCPSO -> HOLY CROSS N/P SCHOOL OBODUKWU PHP_EOL HGPS -> HOLY GHOST N/P SCHOOL PHP_EOL HGSS -> HOLY GHOST SECONDARY SCHOOL PHP_EOL HOR -> HOLY ROSARY PHP_EOL HOT -> HOLY TRINITY PHP_EOL HTPS -> HOLY TRINITY N/P SCHOOL PHP_EOL MGGSS -> MARIA GORRETTI GIRLS SEC SCHOOL PHP_EOL MGPSU -> MARIA GORRETTI N/P SCH UMUNA PHP_EOL MASS -> MATER AMABILIS SEC SCHOOL PHP_EOL MUMPS -> MOSIGNOR UBA MEM N/P SCHOOL PHP_EOL NPSOO -> NINA’S N/P SCHOOL OBIBI OCHASI PHP_EOL PCC -> PAX CHRIST COLLEGE PHP_EOL PJPPS -> POPE JOHN PAUL 2ND N/P SCHOOL PHP_EOL QAP -> QUEEN OF APOSTLES N/P SCHOOL PHP_EOL SHIPS -> SACRED HEART INTL N/P SCHOOL PHP_EOL SHISS -> SACRED HEART INTL SEC SCHOOL PHP_EOL SHMSSA -> SACRED HEART MODEL SEC SCH AMARURU PHP_EOL SHPSA -> SACRED HEART N/P SCHOOL AMARURU PHP_EOL SMSSU -> SANCTA MARIA SEC SCH UMAKA PHP_EOL SMSSA -> SANCTA MARIS SEC SCHOOL ASSAH PHP_EOL STSS -> SANCTA THERESA SEC SCHOOL PHP_EOL SMPSUM -> SANTAC MARIA N/P SCH UMUAKA PHP_EOL SBPS -> ST BARNABAS N/P SCHOOL PHP_EOL SBSSA -> ST BARNABAS SEC SCH AKOKWA PHP_EOL SBDG -> ST BASIL DE GREAT PHP_EOL SCLSS -> ST CHARLES LWANGA MODEL SEC SCH PHP_EOL SDS -> ST DOMINIC SAVIO PHP_EOL SFPSA -> ST FELIX N/P SCHOOL AKOKWA PHP_EOL SFPSAN -> ST FIDELIS N/P SCH ATTA NJABA PHP_EOL SGA -> ST GREGORY AMIRI PHP_EOL STPSU -> ST JOHN N/P SCHOOL URUALLA PHP_EOL SJSS -> ST JOHN SEC SCHOOL URUALLA PHP_EOL SJAS -> ST JOSEPH AMBROSA PHP_EOL SASS -> ST JOSEPH AMBROSA SEC SCH PHP_EOL SJPSO -> ST JOSEPH N/P SCH OKPORO PHP_EOL SJM -> ST JOSEPH NUR/PRY MGBIDI PHP_EOL SJSSM -> ST JOSEPH SEC SCH MGBIDI PHP_EOL SJSSOO -> ST JOSEPH SEC SCH OBIBI OCHASI PHP_EOL SJSSO -> ST JOSEPH SEC SCHOOL ORLU PHP_EOL SJPS -> ST JUDE’S N/P SCHOOL AMURIE OMANZE PHP_EOL SKSS -> ST KIZITO SEC SCHOOL PHP_EOL SMDTPS -> ST MARTINS DE TOURS N/P SCH. EZIAWA PHP_EOL SMP -> ST MARY N/P SCHOOL UMUOWA PHP_EOL SMPSU -> ST MARY N/P SCHOOL UMUOWA PHP_EOL SMPSAB -> ST MICHAEL N/P SCH ABAJAH PHP_EOL SMPSA -> ST MICHAEL N/P SCH AKATTA PHP_EOL SMPSI -> ST MICHAEL N/P SCH IHIOMA PHP_EOL SMS -> ST MICHEAL N/P SCHOL PHP_EOL SMPU -> ST MICHEAL N/P URUALLA PHP_EOL SMISS -> ST MONICA INTER SEC. SCH PHP_EOL SMIPSN -> ST MONICA INTL N/P SCHOOL NKWERRE PHP_EOL STPPSO -> ST PATRICK N/P SCH OGBERURU PHP_EOL SPPSA -> ST PATRICK N/P SCHOOL AMUCHA PHP_EOL SPPSAM -> ST PATRICKS N/P SCHOOL AWO MAMMA PHP_EOL SPPS -> ST PAUL N/P SCH PHP_EOL SPPSN -> ST PAUL N/P SCHOOL NJABA PHP_EOL SPPS -> ST PETER N/P SCHOOL AMIKE PHP_EOL SSS -> ST SAVIOUR SCHOOL ORLU PHP_EOL STCSSM -> ST THERESA COMP SEC SCH MBATO PHP_EOL STPSM -> ST THERESA N/P SCH MBATO PHP_EOL STPSUL -> ST THERESA N/P SCH ULI PHP_EOL STASS -> ST THOMAS AQUAINAS SEC SCH. PHP_EOL STMPSA -> STELLA MARIS N/P SCH AMIRI PHP_EOL USS -> URBAN SEC SCHOOL PHP_EOL
Output for 4.3.0 - 7.1.10
Notice: Use of undefined constant SMPSUM - assumed 'SMPSUM' in /in/BjFb1 on line 32 ASPS -> ALL SAINTS N/P SCHOOL PHP_EOL AASS -> AMATER AMABILI SEC SCH PHP_EOL AASP -> AMATER AMABILIS SCHOOL N/P ISUNJABA PHP_EOL AAPSE -> ARCH ANGEL N/P SCHOOL EZIAMA PHP_EOL BAC -> BISHOP SHANANA COLLEGE PHP_EOL CMHS -> COR MARIAE HIGH SCHOOL PHP_EOL DMMM -> DAUGTHERS OF MARY MOTHER OF MERCY PHP_EOL FCMS -> FATHER COURTNEY MEMORIAL SCHOOL PHP_EOL HCPSO -> HOLY CROSS N/P SCHOOL OBODUKWU PHP_EOL HGPS -> HOLY GHOST N/P SCHOOL PHP_EOL HGSS -> HOLY GHOST SECONDARY SCHOOL PHP_EOL HOR -> HOLY ROSARY PHP_EOL HOT -> HOLY TRINITY PHP_EOL HTPS -> HOLY TRINITY N/P SCHOOL PHP_EOL MGGSS -> MARIA GORRETTI GIRLS SEC SCHOOL PHP_EOL MGPSU -> MARIA GORRETTI N/P SCH UMUNA PHP_EOL MASS -> MATER AMABILIS SEC SCHOOL PHP_EOL MUMPS -> MOSIGNOR UBA MEM N/P SCHOOL PHP_EOL NPSOO -> NINA’S N/P SCHOOL OBIBI OCHASI PHP_EOL PCC -> PAX CHRIST COLLEGE PHP_EOL PJPPS -> POPE JOHN PAUL 2ND N/P SCHOOL PHP_EOL QAP -> QUEEN OF APOSTLES N/P SCHOOL PHP_EOL SHIPS -> SACRED HEART INTL N/P SCHOOL PHP_EOL SHISS -> SACRED HEART INTL SEC SCHOOL PHP_EOL SHMSSA -> SACRED HEART MODEL SEC SCH AMARURU PHP_EOL SHPSA -> SACRED HEART N/P SCHOOL AMARURU PHP_EOL SMSSU -> SANCTA MARIA SEC SCH UMAKA PHP_EOL SMSSA -> SANCTA MARIS SEC SCHOOL ASSAH PHP_EOL STSS -> SANCTA THERESA SEC SCHOOL PHP_EOL SMPSUM -> SANTAC MARIA N/P SCH UMUAKA PHP_EOL SBPS -> ST BARNABAS N/P SCHOOL PHP_EOL SBSSA -> ST BARNABAS SEC SCH AKOKWA PHP_EOL SBDG -> ST BASIL DE GREAT PHP_EOL SCLSS -> ST CHARLES LWANGA MODEL SEC SCH PHP_EOL SDS -> ST DOMINIC SAVIO PHP_EOL SFPSA -> ST FELIX N/P SCHOOL AKOKWA PHP_EOL SFPSAN -> ST FIDELIS N/P SCH ATTA NJABA PHP_EOL SGA -> ST GREGORY AMIRI PHP_EOL STPSU -> ST JOHN N/P SCHOOL URUALLA PHP_EOL SJSS -> ST JOHN SEC SCHOOL URUALLA PHP_EOL SJAS -> ST JOSEPH AMBROSA PHP_EOL SASS -> ST JOSEPH AMBROSA SEC SCH PHP_EOL SJPSO -> ST JOSEPH N/P SCH OKPORO PHP_EOL SJM -> ST JOSEPH NUR/PRY MGBIDI PHP_EOL SJSSM -> ST JOSEPH SEC SCH MGBIDI PHP_EOL SJSSOO -> ST JOSEPH SEC SCH OBIBI OCHASI PHP_EOL SJSSO -> ST JOSEPH SEC SCHOOL ORLU PHP_EOL SJPS -> ST JUDE’S N/P SCHOOL AMURIE OMANZE PHP_EOL SKSS -> ST KIZITO SEC SCHOOL PHP_EOL SMDTPS -> ST MARTINS DE TOURS N/P SCH. EZIAWA PHP_EOL SMP -> ST MARY N/P SCHOOL UMUOWA PHP_EOL SMPSU -> ST MARY N/P SCHOOL UMUOWA PHP_EOL SMPSAB -> ST MICHAEL N/P SCH ABAJAH PHP_EOL SMPSA -> ST MICHAEL N/P SCH AKATTA PHP_EOL SMPSI -> ST MICHAEL N/P SCH IHIOMA PHP_EOL SMS -> ST MICHEAL N/P SCHOL PHP_EOL SMPU -> ST MICHEAL N/P URUALLA PHP_EOL SMISS -> ST MONICA INTER SEC. SCH PHP_EOL SMIPSN -> ST MONICA INTL N/P SCHOOL NKWERRE PHP_EOL STPPSO -> ST PATRICK N/P SCH OGBERURU PHP_EOL SPPSA -> ST PATRICK N/P SCHOOL AMUCHA PHP_EOL SPPSAM -> ST PATRICKS N/P SCHOOL AWO MAMMA PHP_EOL SPPS -> ST PAUL N/P SCH PHP_EOL SPPSN -> ST PAUL N/P SCHOOL NJABA PHP_EOL SPPS -> ST PETER N/P SCHOOL AMIKE PHP_EOL SSS -> ST SAVIOUR SCHOOL ORLU PHP_EOL STCSSM -> ST THERESA COMP SEC SCH MBATO PHP_EOL STPSM -> ST THERESA N/P SCH MBATO PHP_EOL STPSUL -> ST THERESA N/P SCH ULI PHP_EOL STASS -> ST THOMAS AQUAINAS SEC SCH. PHP_EOL STMPSA -> STELLA MARIS N/P SCH AMIRI PHP_EOL USS -> URBAN SEC SCHOOL PHP_EOL