just a quick reminder that you can run php code in the terminal using the `-r` option; not sure how obvious this tip is, but sharing it anyway
Conversation
Notices
-
Embed this notice
Nuno Maduro (nunomaduro@mastodon.social)'s status on Tuesday, 28-May-2024 03:33:13 JST Nuno Maduro - gidi likes this.
-
Embed this notice
Ben Ramsey (ramsey@phpc.social)'s status on Tuesday, 28-May-2024 03:33:12 JST Ben Ramsey @uberbrady @nunomaduro `php -a` gives you a decent built-in REPL, though PsySH is easier to use and has more features (and is what Laravel Tinker uses under the hood).
gidi likes this. -
Embed this notice
Uberbrady (uberbrady@social.uberbrady.com)'s status on Tuesday, 28-May-2024 03:33:13 JST Uberbrady @nunomaduro it *is* good! But I am still going to have to google it next time I want to use it in a month or two :/