Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Ignore leading <?php #18

Open
rgbkrk opened this issue Apr 21, 2017 · 2 comments
Open

Ignore leading <?php #18

rgbkrk opened this issue Apr 21, 2017 · 2 comments

Comments

@rgbkrk
Copy link

rgbkrk commented Apr 21, 2017

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: nteract/hydrogen#726

@castarco
Copy link
Contributor

Hi, yup, maybe this could be a solution, but in the meanwhile, commenting this first line will solve the issue:

// <?php

@ricpelo
Copy link

ricpelo commented May 22, 2019

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...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants