Jupyter-PHP
Jupyter-PHP copied to clipboard
Ignore leading `<?php`
trafficstars
Would it be appropriate for this kernel to ignore a <?php line so that it can be passed a whole script?
Original issue report in Hydrogen: https://github.com/nteract/hydrogen/issues/726
Hi, yup, maybe this could be a solution, but in the meanwhile, commenting this first line will solve the issue:
// <?php
Any news about this issue? I'm teaching PHP in a Programming course using Hydrogen & Jupyter-PHP and it's weird to ask my students to put // in front of <?php in order to run their scripts...