Q:
What will be the output of the following PHP code?
belongs to collection: PHP STRINGS AND REGULAR EXPRESSIONS MCQ
PHP STRINGS AND REGULAR EXPRESSIONS MCQ
- Which of them is a HTML specific string function?
- Perl-compatible regex patterns are always ended by one particular character, which must be?
- Strspn ( ) and strcspn ( ) functions takes 2 srtring arguments while count_chars ( ) takes
- A function that takes two strings and returns a string that is similar in spelling of other
- Some characteristics of MD5 is
- Output of Md5 is
- If errors occurs during transfer of file, you can use
- MD5 takes input string and makes it down into a fixed length string of
- POSIX regex and PERL compatible regex, both are example of
- Which function from following is not included in PHP6?
- For tokenizing a string which PHP function is used?
- A function that takes a filename as argument and returns a MD5 of that file
- Which function is used to take a string as argument and returns a string that is stripped of all HTML and PHP tags?
- There are how many types of classes for regular expressions?
- MD5 algorithm is used to produce a
- Regex defines a
- MD5 stands for
- POSIX regular expression function ereg_replace ( ) takes
- Which function is used to implement MD5 in PHP?
- Process of breaking up a long string into words is called as
- Which PHP function treats a string as collection of characters rather than a sequence?
- By using special wildcards for matching a string which function is used?
- In Perl-compatible patterns any pattern that is followed by ? this means that
- What is meaning of "." in POSIX style regex?
- Why a special character is used in beginning and end of string in Perl-compatible patterns?
- Ereg ( ) function is no more included in
- Inverse function of explode ( ) is
- All these functions are preg_quote ( ), preg_grep ( ), preg_split ( ), preg_match_all ( ) example of
- Htmlspecialchars ( ) function takes a string as argument and returns string in which form, that has a special meaning in HTML
- MD5 is not secure to store passwords because
- PHP removes ereg functions, and prefer using
- A sequence of characters that is treated as a unit is called
- Ltrim ( ) returns its string argument with
- When two strings are exactly equivalent Strcmp ( ) returns what?
- For finding out one string is equal to another string which function we can use?
- Returns a string arguments with trilling blank space removed, is a behavior of
- Which function is used for replacing whole string with an alternate string?
- Stristr ( ) is identical to Strstr ( ) except that
- Replacing string from left hand side is known as
- A function that capitalizes first letter of each word in a string, is a
- Case functions are used for
- Chop ( ), ltrim ( ) and trim functions are used for
- Which function is identical to Strstr ( )?
- Selecting a substring by numerical position is property of
- In substring selection which function modifies a string?
- Which function is used for escaping quotation marks, double quotation marks, backslashes and Nulls from a string?
- In addition to single and double quoted strings PHP offers another way to specify a string which is called as
- Which function returns resulting string as its value?
- Which two functions are used for replacing a string with another string?
- Which string type is interpreted as a number of sequences and automatically interpolates variable values?
- Which function is used for capitalizing first letter of a string?
- In substring selection what\'s mean of Slicing?
- Concatenating operator is used for
- All these characters in a string \\, ?, *, \\, &Hat, $, ] are escaped by
- Returns a string argument with both leading and trailing whitespace removed, is a behavior of
- By first constructing a message string and then shipping it off to receiving program, is a way of communication between PHP and
- For creating pages that contain HTML forms and have multiline strings we can use
- Concatenating assignment operator is denoted by
- Which statement is correct for specifying a string in code?
- What does trailing means in replacement of functions?
- Literal string specified in PHP code by
- Which function start its search from backward rather than from beginning?
- Which function takes a single string and returns its length as an integer?
- Strtupper ( ) function returns
- PHP offers printf ( ) and
- Dot \". \" operator in strings are called as
- How many operators PHP offer for strings?
- Function Strcmp ( ) is equals to
- Which three functions has intimate relationship with each other?
- Which syntax is very useful for specifying large chunks of interpolated variable text?
- Strstr ( ) function selects a substring by its
- Operator that is used for heredoc syntax
- PHP has long supported two regular expression implementations known as _______ and _______
- Which one of the following regular expression matches any string containing zero or one p?
- [:alpha:] can also be specified as
- How many functions does PHP offer for searching strings using POSIX style regular expression?
- What will be the output of the following PHP code?
- POSIX implementation was deprecated in which version of PHP?
- POSIX stands for
- What will be the output of the following PHP code?
- Which of the following would be a potential match for the Perl-based regular expression /fo{2,4}/ ?
- Which among the following is/are not a metacharacter?
- How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions
- What will be the output of the following PHP code?
- Say we have two compare two strings which of the following function/functions can you use?
- Which one of the following functions will convert a string to all uppercase?
- What will be the output of the following PHP code?
- What will be the output of the following PHP code?
- Which one of the following functions can be used to concatenate array elements to form a single delimited string?
- Which one of the following functions finds the last occurrence of a string, returning its numerical position?
- What will be the output of the following PHP code?
- What will be the output of the following PHP code?
(d).o’malley wins the heavyweight championship!
need an explanation for this answer? contact us directly to get an explanation for this answer