How do you match the character ^ at the beginning of the
string? - ^^



How do you match the character ^ at the beginning of the string? - ^^..

Answer / subhash

echo ereg("^[\^]","^subhash");

Is This Answer Correct ?    14 Yes 1 No

Post New Answer

More PHP Interview Questions

Php says that an array is an ordered map. But how the values are ordered in an array?

0 Answers  


How do you destroy a particular or all Sessions?

0 Answers  


why we use @symbol before the variable

5 Answers   HCL, Numark,


What is the output of the following php code?

0 Answers  


To run php script on a local machine we need to install Apache http server and php. Then only scripts are run in the browsers. but when these things are not loaded on a local machine and a php script is brought by the browser still the browser displays the page. how?

2 Answers  






What is whitespace in html?

0 Answers  


How do you define a constant in php?

0 Answers  


How to enable cURL in PHP?

0 Answers   HCL,


I have written a source code in php but I do not know how to compile that and conduct it with a website please explain me the how to compile that ?

1 Answers  


Which is better php or wordpress?

0 Answers  


What is the use of magic function in php?

0 Answers  


Which escape sequences can be used in single quoted strings in php?

0 Answers  


Categories