About 200 results
Open links in new tab
  1. PHP Array Functions - W3Schools

    PHP Array Introduction. The array functions allow you to access and manipulate arrays. Simple and multi-dimensional arrays are supported.

  2. PHP Arrays - W3Schools

    Array Functions. The real strength of PHP arrays are the built-in array functions, like the count() function for counting array items:

  3. PHP array() Function - W3Schools

    The array() function is used to create an array. In PHP, there are three types of arrays: Indexed arrays - Arrays with numeric index; Associative arrays - Arrays with named keys; Multidimensional arrays - Arrays containing one or more arrays

  4. PHP Functions - W3Schools

    PHP Built-in Functions. PHP has over 1000 built-in functions that can be called directly, from within a script, to perform a specific task. Please check out our PHP reference for a complete overview of the PHP built-in functions.

  5. PHP Create Arrays - W3Schools

    Array Keys. When creating indexed arrays the keys are given automatically, starting at 0 and increased by 1 for each item, so the array above could also be created with keys:

  6. PHP pos() Function - W3Schools

    The pos() function returns the value of the current element in an array. This function is an alias of the current() function. Every array has an internal pointer to its "current" element, which is initialized to the first element inserted into the array. Tip: This function does not move the arrays internal pointer. Related methods:

  7. PHP array_pop() Function - W3Schools

    Returns the last value of array. If array is empty, or is not an array, NULL will be returned. PHP Version: 4+

  8. PHP array_slice() Function - W3Schools

    The array_slice() function returns selected parts of an array. Note: If the array have string keys, the returned array will always preserve the keys (See example 4).

  9. PHP count() Function - W3Schools

    Returns the number of elements in the array: PHP Version: 4+ PHP Changelog: The mode parameter was added in PHP 4.2

  10. PHP str_replace() Function - W3Schools

    The str_replace() function replaces some characters with some other characters in a string. This function works by the following rules: If the string to be searched is an array, it returns an array; If the string to be searched is an array, find and replace is performed with every array element

Refresh