-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
Sometimes, you don't want a controller, you just want to be able to write a bit of PHP and watch it run.
It would be cool to be able to have a folder where you just create PHP files, write code, save the file, and it updates:
<?php
$a = 0;
$b = 100;
rand($a, $b);After 3 saves:
2
89
56
Navigation-wise, you would select "scratch" folders in settings, then these would show up somewhere in the interface:
- navigation tree
- separate section
These would be added to the watch list, then when you edit and save the file, the code is executed, perhaps with some kind of auto-return.
Things to think about:
- could also have a switch to auto-append to previous output
- how would errors be handed? Just display the message.