File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ I simply wanted an online repl that allowed me to play with *multiline* php scri
88There's already a console-based repl ` php -a ` , but it and many other
99console-based repls are not great for multiline snippets.
1010
11- I've used this quick hack a ton since building it. I hope you get some use out of it as well.
11+ Folks have even been using ` src/eval/index.php ` as a sandboxed, php eval script to power their own services. Pretty awesome!
1212
1313### Sandboxing
1414
@@ -72,8 +72,10 @@ If you'd like to tinker around with the code, you can do the following:
7272` src/phpepl.js ` is the main script for the website. This gets built into ` dist/phpepl.js `
7373which is referenced by ` phpepl/index.html ` .
7474
75- The php evaluation code is in ` src/eval/index.php ` . That endpoint checks for the existence of a
76- ` PHPEPL_PROD ` environment variable (which is set on the production hosts) for sandboxing. Locally, you won't
75+ The php evaluation code is in ` src/eval/index.php ` .
76+
77+ That endpoint checks for the existence of a ` PHPEPL_PROD ` environment variable
78+ (which is set on the production hosts) for sandboxing. Locally, you won't
7779have that set, so you'll have the unsandboxed version by default.
7880
7981* With grunt running, that change should rebuild the app and you can just refresh the page.
You can’t perform that action at this time.
0 commit comments