PHP » GoLang |
login |
register |
about
|
GoLang RegexIterator::accept
request it (334)
GoLang replacement for PHP's RegexIterator::accept
[edit | history]
RegexIterator::accept(PHP 5 >= 5.2.0, PHP 7) RegexIterator::accept — Get accept status Description
public bool RegexIterator::accept
( void
)
Matches (string) RegexIterator::current() (or RegexIterator::key() if the RegexIterator::USE_KEY flag is set) against the regular expression. ParametersThis function has no parameters. Return Values
Examples
Example #1 RegexIterator::accept() example This example shows that only items matching the regular expression are accepted.
<?php The above example will output: Bob Charlie David |
more
Recently updated
more
Most requested
more
Last requests
|