4 ms·
yeah, where does 'perform' come from?
by code_duck 15y ago
yeah, where does 'perform' come from?
- Luyt 15y agoCOBOL. But I think the author didn't know that the preg_*() functions use regular expressions the same way Perl does.
- DaveChild 15y agoI did know that, but wasn't sure the "p" stood for "perl". The manual page for preg_match leads with "preg_match — Perform a regular expression match", so I went with that.
- code_duck 15y agoTrue, and you never know with PHP. The preg functions are wrappers around the Perl Compatible Regular Expressions library, though (PCRE) vs the older POSIX greg PHP functions, so I do think they mean Perl.