Evolved PHP
By Chris Pitt
Last time, we looked at how to go about adding our own syntax to PHP. We explored a range of options; from submitting to the core project, to using preprocessor macros. We looked at a few uses for custom syntax and even created a silly little Minecraft DSL compiler.
This article was originally published in the April 2018 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.
Leave a comment
Use the form below to leave a comment: