PHP Programming quiz, level Intermediate, question 21
| Question: | How does eregi differ from ereg? |
| Answer 1: | eregi ignores case while matching This was the CORRECT answer |
| Answer 2: | eregi runs in interactive mode |
| Answer 3: | ereg and eregi are identical - both names are available only to maintain compatability with PHP version 2. |
| Answer 4: | The only function available is eregi; you may be use to typing in ereg in interactive mode, but you only get away with it because it's a unique shortening of eregi |
This was a question from our quiz ... but we have now provided you with
the answer (above) - we prefer to provide you with information rather than to
puzzle you.
|
|