]> granicus.if.org Git - php/commit
Validate phonemes parameter of metaphone()
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 22 Sep 2020 09:19:02 +0000 (11:19 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 22 Sep 2020 09:19:02 +0000 (11:19 +0200)
commit84be22f1f5db499001379f762869d00fc3bc6f55
tree1d81241b4256a2b189dac86b1fce51e0c140b7eb
parentd0fb2f409eb0bf4cc865ade8c4de255bf9f9eaff
Validate phonemes parameter of metaphone()

And thus avoid the false return value.
ext/standard/basic_functions.stub.php
ext/standard/basic_functions_arginfo.h
ext/standard/metaphone.c
ext/standard/tests/strings/metaphone.phpt