×
Example listing ¶. List of all the examples in the manual. Example#0 - An introductory example · Example#1 - Our first PHP script: hello.php · Example#2 ...
PHP Manual ¶ · Basic syntax · Types · Variables · Constants · Expressions · Operators · Control Structures · Functions ...
Missing: url | Show results with:url
Function and Method listing ¶ · uasort - Sort an array with a user-defined comparison function and maintain index association · ucfirst - Make a string's first ...
Example #1 A classic Application directory layout. - index.php - . · Example #3 Rewrite rule. #for apache (. · Example #4 Application config. [yaf] ; ...
Index listing ¶. Table of Contents ¶. Function and Method listing · Example listing. Improve This Page. Learn How To ...
Missing: url | Show results with:url
People also ask
It's a common thing to many users to iterate through arrays like in the example below. <?php /* * This is an array with some data we want to modify * when ...
This example creates a one-based array. Example #14 One-based index. <?php $firstquarter = array(1 => 'January', 'February', 'March'); print_r($firstquarter);
URL Functions ¶. Table of Contents ¶. base64_decode — Decodes data encoded with MIME base64; base64_encode — Encodes data with MIME base64 ...
It is now possible to specify keys in list(). This enables destructuring of arrays with non-integer or non-sequential keys. Examples ¶. Example #1 list() ...
Missing: url | Show results with:url
The first is a header that starts with the string " HTTP/ " (case is not significant), which will be used to figure out the HTTP status code to send. For ...