PHP » GoLang |
login |
register |
about
|
ereg(PHP 4, PHP 5) ereg — Regular expression match Warning
This function was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0. Alternatives to this function include: Description
int ereg
( string
$pattern
, string $string
[, array &$regs
] )
Searches a Parameters
Return Values
Returns the length of the matched string if a match for
If the optional parameter Changelog
Examples
Example #1 ereg() example The following code snippet takes a date in ISO format (YYYY-MM-DD) and prints it in DD.MM.YYYY format:
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|