students_2.php (students_2.txt)
students_3.php (students_3.txt)
students_4.php (students_4.txt)
students_5.php (students_5.txt)
How to compile and run a COBOL program?
Hello world!
https://askubuntu.com/questions/287180/how-to-compile-and-run-a-cobol-program
How to compile and run a cobol program
cobc -free -x -o helloworld helloworld.cbl
./helloworld
https://www.tutorialspoint.com/cobol/
The PHP code
<?php
echo str_replace("\n", '<br />', shell_exec('./helloworld') );
?>