3v4l.org

run code in 300+ PHP versions simultaneously
<?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>"); ?>
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
<table border="1\><tr> Fatal error: Uncaught Error: Call to undefined function cout() in /in/8J6oV:27 Stack trace: #0 {main} thrown in /in/8J6oV on line 27
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 <table border="1\><tr> Fatal error: Uncaught Error: Call to undefined function cout() in /in/8J6oV:27 Stack trace: #0 {main} thrown in /in/8J6oV on line 27
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
<table border="1\><tr> Fatal error: Call to undefined function cout() in /in/8J6oV 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/8J6oV on line 27
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
<table border="1\><tr> Fatal error: Call to undefined function: cout() in /in/8J6oV 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/8J6oV on line 27

preferences:
261.91 ms | 401 KiB | 357 Q