distinct array repetidos
<?php
$input = array("a" => "green", "red", "b" => "green", "blue", "red");
$result = array_unique($input);
print_r($result);
?>
Array
(
[a] => green
[0] => red
[1] => blue
)
Also in PHP:
- @foreac laravel
- date year php
- $_server current url
- array key exists and is true
- $_Service php find
- AWS HTTP error: SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
- check datatype in php
- array get only the value without duplicate
- Argument 1 passed to NotORM_Result::update() must be of the type array, string php slim
- $_SERVER['HTTP_HOST'] site:'pantheon.io'
- check if home page wordpress
- composer which php version
- date method in php
- count variable lenth in php
- distinct array repetidos
- debug native php
- check if php contains string
- Tto upper php
- data seeder in laravel
- It is possible to perform an HTTPS redirect using PHP code as well as writing PHP code to prevent the browser from caching your we
- apache 2 lib php 7.4
- display al errros php
- catching errors in php
- displaying errors in laravel