Category: PHP

PHP

Removing strings or non-integer values from an array in PHP – Simple and Easy Method

Removing non-integer entries from array in php Here we are going to discuss how to remove strings or non-integer values from an array in php. For this we need to use one simple array function in php called array_filter() . it always filters an array using a callback function. Syntax : Parameters : array :- […]

PHP

Palindrome Number In PHP – simple and easy method

Write a program to find the number is Palindrome number in PHP A number is called Palindrome when its reverse is same as the orginal number. Eg:- Number = 12321, Reverse = 12321 Both the number and reverse is same thus its called as a palindrome number. Let’s check how to program palindrome number in […]

Back To Top