3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function LeggiPersone($persona) { return($persona); } ?> <?php $anagrafia[] = array("NOME","COGNOME","DATA DI NASCITA","LUOGO DI NASCITA","CODICE FISCALE"); $persona[] = array("Giulio","Poltrinieri","19/06/1980","Firenze","GLOPLN____"); $persona[] = array("Armando","Rossi","20/03/1970","Bari","ARMRSS____"); $persona[] = array("Luca","Bianchi","0.7/11/1940","Milano","LCABNH____"); $persona[] = array("Mario","Neri","03/01/1974","Modena","MRONRI____"); $persona[] = array("Andrea","Violi","15/08/1985","Napoli","ADRVLI____"); $persona[] = array("Marco","Bocci","04/03/1942","Reggio Emilia","MRCBCC____"); $persona[] = array("Carmine","Luppo","25/02/1973","Padova","CRMLPP____"); $persona[] = array("Paolo","Pinco","27/05/1981","Bergamo","PLOPNC____"); $persona[] = array("Matteo","Bardi","18/07/1956","Salerno","MTTBRD___"); $persona[] = array("Michele","Botti","10/08/1961","Roma","MCHBTT___"); print("<table border=\"1\>"); for($i=0;$i<count($persona);$i++) { print("<tr>"); { for($j=0;$j<cout($persona[$j]);$j++) { print("<td LeggiPersone($persona[j]);>"); } print("</tr>"); } } print("/table>"); ?>
based on 8J6oV
Output for 7.0.0 - 7.2.0
<table border="1\><tr> Fatal error: Uncaught Error: Call to undefined function cout() in /in/464Xk:27 Stack trace: #0 {main} thrown in /in/464Xk on line 27
Process exited with code 255.
Output for 5.0.0 - 5.6.28
<table border="1\><tr> Fatal error: Call to undefined function cout() in /in/464Xk on line 27
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<table border="1\><tr> Fatal error: Call to undefined function: cout() in /in/464Xk on line 27
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<table border="1\><tr> Fatal error: Call to undefined function: cout() in /in/464Xk on line 27
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<table border="1\><tr> Fatal error: Call to undefined function: cout() in /in/464Xk on line 27