phptal / PHPTAL

PHP Template Attribute Language — template engine for XSS-proof well-formed XHTML and HTML5 pages
http://phptal.org
GNU Lesser General Public License v2.1
175 stars 43 forks source link

EQQ/NEE #93

Closed jacekkarczmarczyk closed 2 months ago

jacekkarczmarczyk commented 2 months ago

Good to see PHPTAL is still releasing new versions! I have a small feature suggestion that looks like something easy to implement - to add EQQ (===) and NEE (!==) operators. I've just found it missing when using x EQ false on a value that can be true|false|null, obviously I used === directly to make it work but new operators would complement the existing ones.

Ocramius commented 2 months ago

Do send patches: as long as something is well tested and documented, I would totally merge + release :-)