Home »
PHP
,
Php Interview Questions
,
php-interview-questions-answers
» You want to extract part of a string, starting at a particular place in the string
You want to extract part of a string, starting at a particular place in the string
PMA00:24
Related Posts:
What’s the special meaning of __sleep and __wakeup? __sleep returns the array of all the variables than need to be saved, while __wakeup retrieves them. … Read More
How get the value of current session id? Session_id() returns the session id for the current session. … Read More
How many values can the SET function of MySQL take? MySQL set can take zero or more values but at the maximum it can take 64 values … Read More
How do you convert the while statement you created in question 3 into a for statement? $num = 1;while ($num <= 49) {echo $num.”<br />”;$num += 2;} … Read More
in_array() function in php? It checks if a value exists in an array … Read More
How do you define a constant in php? by define() directive, like define (“MYCONSTANT”, 500); … Read More
magic methods? Magic methods are the members functions that is available to all the instance of class Magic methods always starts with “__”. Eg. __construct All magic methods needs to be declared as public To use magic method they sh… Read More
What are the different tables present in mysql? Total 5 types of tables we can create 1. MyISAM 2. Heap 3. Merge 4. InnoDB 5. ISAM 6. BDB MyISAM is the default storage engine … Read More
Cookies Versus Sessions? Cookies The setcookie( ) call needs to be before the HTML form because of the way the web works. HTTP operates by sending all "header" information before it sends "body" information. In the header, it sends t… Read More
What is CURL? CURL stands for Client URL Library. CURL allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telne… Read More
What is CAPTCHA? CAPTCHA stands for Completely Automated Public Turing Test to tell Computers and Humans Apart.the application can be fairly assured that there is a human client using it. … Read More
What Is a Function? You can think of a function as an input/output machine. This machine takes the raw materials you feed it (input) and works with them to produce a product (output). A function accepts values, processes them, and then performs… Read More
How can we get the browser properties using PHP? $_SERVER['HTTP_USER_AGENT']; … Read More
PHP? PHP (Hyper text Pre Processor) is a scripting language commonly used for web applications … Read More
What is the maximum size of a file that can be uploaded using PHP and how can we change this? By default the maximum size is 2MB. can change the size setup at php.ini upload_max_filesize = 12M … Read More