I wonder if the
$ php -a
have something similar to ruby's ~/.irbrc file.
basically I want to require 'bootstrap.php';
automatically when I start php -a
I wonder if the
$ php -a
have something similar to ruby's ~/.irbrc file.
basically I want to require 'bootstrap.php';
automatically when I start php -a
For future references:
I solved this by using http://phpsh.org/
and using an alias of
alias myphpsh='phpsh bootstrap.php'