Full Stack Angular, React, Spring Boot Ganpathi
Angular, React and Spring Boot Developer
Thursday 28 August 2014
PHP Array filter working code
Array filter does not allow duplicate values:
<?php
$array = array(1, "hello", 1, "world", "hello");
$new=array_filter(array_count_values($array),'custom_filter');
print_r($new);
function custom_filter($val)
{
return $val > 1;
}
?>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
AWS - Solution Architect - SAA-C03 Certification Course & AWS Services
Firebug Guide for Web Designers - Web Debugging Tool
Method 1: Offline and online Open FireFox -> Tools -> Add-ons . => Add ons Manager browser appear. Then Search type firebug. ...
React- Ag Grid Server side Pagination Implmentation
import React, { useEffect, useState } from 'react'; import { AgGridColumn, AgGridReact } from 'ag-grid-react'; import '...
No comments:
Post a Comment