User Tools

Site Tools


If you want to send us your comments, please do so. Thanks
More on comments

PHP Buildin functions


Replaces the contents of the array for each element with the result of the function in the first argument of array_map

array_map example

function double($n) {
  return ($i + $i);
$numbers = [1, 4, 5, 9, 15];
$additions = array_map('double', $numbers);

mysqli_real_escape_string', array($fof_connection, $args)

$args is an array. These

$result = mysqli_real_escape_string', ($fof_connection, $args);
$result = mysqli_real_escape_string', array($fof_connection, $args);

do not work since mysqli_real_escape_string can not handle an array

Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

Privacy statement
Bugs statement
Copyright © : 2014 - 2022 and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
php_build_in_functions.txt · Last modified: 13-12-2019 01:23 by