3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function noticias($folder = NULL, $correlativo = NULL) { $data['title'] = ucfirst('Noticias - Centro de Formacion Municipal'); $data['meta_description'] = 'Conoce el trabajo que realiza el Centro de Formacion Municipal y las diferentes ' . 'actividades y eventos que lleva a cabo.'; $data['breadscrumbs'] = array($this->controlador, array('def' => 'Noticias', 'url' => '')); $data['linksNoticias'] = $this->links_noticias(); if (!$this->existe_noticia($folder, $correlativo)) { $folder = $data['linksNoticias'][0]['folder']; $correlativo = $data['linksNoticias'][0]['correlativo']; }
based on 5Wvgj
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.6
Parse error: syntax error, unexpected end of file in /in/hZBMT on line 12
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: syntax error, unexpected $end in /in/hZBMT:12 Stack trace: #0 {main}
Process exited with code 255.