1 Which PCRE regular expression will match the string PhP5-rocks?
Answer...
/^[hp1-5]*\-.*/i
/[hp1-5]*\-.?/
/[hp][1-5]*\-.*/
/[PhP]{3}[1-5]{2,3}\-.*$/
/[a-z1-5\-]*/
2 Which of the following are valid PHP variables?
@$foo
&$variable
${0x0}
$variable
$0x0
3 To destroy one variable within a PHP session you should use which method in PHP 5?
4 When comparing two strings, which of the following is acceptable?
$a === $b;
strcasecmp($a, $b);
strcmp($a, $b);
$a == $b;
str_compare($a,$b);
Please answer through the comments I will make it publish on blog..............
[Thursday, February 21, 2008
|
0
comments
]
Popular Posts
- MySQL stored procedure&triggers
- php questions
- Php Questions
- How we canmove into last changed position on info window close event On google map
- Pattern Matching in mysql
- MySQL INDEX
- MYSQL joins
- Jquery based dynamic adding and removal of html elements.
- securing a form with captcha
- Comparing a date with current date
0 comments
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.