• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

PHP REGULAR EXPRESSIONS QUIZ

How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions.

TRUE ANSWER : ?
YOUR ANSWER : ?

POSIX implementation was deprecated in which version of PHP?

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code?<br/>echo str_pad("Salad", 5)." is good.";

TRUE ANSWER : ?
YOUR ANSWER : ?

Which one of the following preg PHP function is used to do a find and replace on a string or an array?

TRUE ANSWER : ?
YOUR ANSWER : ?

Parameter flags was added in which version of PHP?

TRUE ANSWER : ?
YOUR ANSWER : ?

What will be the output of the following PHP code?<br/>$number = array(0,1,two,three,four,5);<br/>$num = preg_grep("/[0-5]/", $number);<br/>print_r($num);

TRUE ANSWER : ?
YOUR ANSWER : ?

Which one of the following functions will convert a string to all uppercase?

TRUE ANSWER : ?
YOUR ANSWER : ?

Which one of the following is not a preg PHP function?

TRUE ANSWER : ?
YOUR ANSWER : ?

[:alpha:] can also be specified as.

TRUE ANSWER : ?
YOUR ANSWER : ?

Which of the following would be a potential match for the Perl-based regular expression /fo{2,4}/ ?<br/>1. fol<br/>2. fool<br/>3. fooool<br/>4. fooooool

TRUE ANSWER : ?
YOUR ANSWER : ?
MORE MCQ

QUIZ STATS

  • 0
  • 0

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑