PHP Regular Expression
Test
Model Test
Ebook
Quiz-1 : PHP Fundamental
Quiz-2 : PHP Variables and Datatypes
Quiz - PHP Basic 1
Quiz - PHP Fundamental 3
Quiz - PHP Advanced Concept, Networking, Super G.
Quiz - PHP Networking
Quiz PHP Object Oriented Programming
Quiz - PHP string,oop,regular expression
Quiz - PHP and MySQL
Quiz - PHP String,Security,Webservice
Index
PHP Home
PHP Fundamentals
230
PHP Input/Output
16
PHP Object Oriented Programming
59
PHP Installation & Configuration
17
Reported Questions
80
PHP Functions
16
PHP Regular Expression
33
PHP Variables and Datatypes
62
PHP Arrays
104
PHP Operators and Expressions
6
PHP Built-in Constants and Standard PHP .
10
PHP Advanced Concepts
120
PHP Error Handling
34
PHP String Operation
36
PHP Language Syntax
11
PHP Super Globals
21
PHP Datetime and timezone
4
PHP Networking
12
PHP with MySQL
5
PHP Web Service
10
PHP Security
15
PHP File Handling
9
PHP PEAR
7
PHP Control Structure
7
PHP Form Handling
1
Schools
Ebook
Question:
What will be the correct output of the following syntax? <?php $v="php 6.0"; echo sql_regcase($v); ?>
A
<span>[Pp][Hh][Pp] 6.0</span>
B
[pP][hH][pP] 6.0
C
[Pp][hH][Pp] 6.0
D
[Pp][pP][Hh] 6.0
Note:
Not available
Show answer
Show Note
Report
Question:
PHP supported two regular expression ______
A
POSIX
B
Unix
C
Perl
D
Pear
Note:
Not available
Show answer
Show Note
Report
Question:
Which statement is true about Regular Expressions?
A
describing or matching data according to defined syntax rules
B
allowing to slice and dice text in nearly every conceivable fashion.
C
Used for searching data
Note:
Not available
Show answer
Show Note
Report
Question:
Which function executes a case-sensitive search of a string for defined pattern?
A
eregi()
B
ereg()
C
pereg()
D
peregI()
Note:
Not available
Show answer
Show Note
Report
Question:
Which function executes a case-insensitive search of a string for defined pattern?
A
eregi()
B
ereg()
C
pereg()
D
peregI()
Note:
Not available
Show answer
Show Note
Report
Question:
Which function used to find and replace pattern with a replacement string?
A
eregi_replace()
B
ereg()
C
replace_string()
D
peregI()
Note:
Not available
Show answer
Show Note
Report
Question:
How to divide a string into various elements?
A
using string_divide()
B
Substring()
C
Split()
D
Str()
Note:
Not available
Show answer
Show Note
Report
Question:
Which function searches all elements of an array, returning an array() ?
A
using array_Search()
B
Search()
C
preg_grep()
D
Str()
Note:
Not available
Show answer
Show Note
Report
Question:
___________ function searches a string for a specific pattern, returning TRUE if it exists.
A
preg_search()
B
preg_find()
C
preg_match()
D
preg_replace()
Note:
Not available
Show answer
Show Note
Report
Question:
Spliting a string into various elements based on Case-Insensitive pattern_
A
preg_search()
B
preg_find()
C
reg_split()
D
preg_split()
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
3
4
Next
Last
/4
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd