InimistTech Blogs

Web & Mobile App Tech Weblog

  • Home
  • Laravel
  • React
  • Javascript
  • Linux
  • PHP
  • git
  • WordPress
  • Hindi to Unicode

Category: PHP

How to get Array Length in PHP

Naseeb SinghMiscelleneous, PHP1 Comment on How to get Array Length in PHP

In this post, we will provide a quick and easy method to determine the length of a PHP array.We will present a simple example of how to calculate the length of an array in PHP. How to get Array Length…

Read More→

Get Duplicate Values from an Array in PHP

Naseeb SinghPHPLeave a Comment on Get Duplicate Values from an Array in PHP

In this post, we will explore how to identify duplicate values in a PHP array. We’ll provide you with an example of how to retrieve duplicate values from an array in PHP. Get Duplicate Values from an Array in PHP…

Read More→

Check If An Array Has Duplicate Values Example in PHP

Naseeb SinghPHPLeave a Comment on Check If An Array Has Duplicate Values Example in PHP

In this simple tutorial I shall illustrate how to check whether a PHP array has duplicated values. In this simple example we will process an array to detect identical or duplicate values. If you want to detect duplicate values within…

Read More→

PHP example of Null coalescing operator for shorthand If-Else operator

Arvind KumarPHPLeave a Comment on PHP example of Null coalescing operator for shorthand If-Else operator

In this example we will see the use of the shortest shorthand of if-else statement to check isset variable in PHP programming language. Using Null coalescing operator we can write shortest if-else statement to check isset value and return it…

Read More→

How to use cURL in PHP, Working examples of cURL in PHP

Arvind KumarPHPLeave a Comment on How to use cURL in PHP, Working examples of cURL in PHP

What is cURL? cURL is a computer software project providing a code library (libcurl) and command-line tool (curl) for transferring data using various network protocols. Usually PHP comes loaded with libcurl library by default. Check if cURL is enabled in…

Read More→

How to check if a string is a valid JSON object in PHP

Arvind KumarPHPLeave a Comment on How to check if a string is a valid JSON object in PHP

You receive a data in form of string and it is supposed to be a valid JSON. So how to know whether a string you have is a valid JSON object. Here in this post I will show it with…

Read More→

Array Destructuring With or Without List Function in PHP

Arvind KumarPHPLeave a Comment on Array Destructuring With or Without List Function in PHP
A simple way to debug a php application in production mode

Have you been unwillingly using the useful “extract” function to convert array elements into their corresponding names with same variable name as the key of the array element? Have you been worrying about the non-friendly nature of your code for…

Read More→

Creating Custom Shortcode in WordPress

Arvind KumarHTML and CSS, Miscelleneous, PHP, WordPressLeave a Comment on Creating Custom Shortcode in WordPress
wordpress logo

With a lot of customization with the theme WordPress also provide us to create our own Custom Shortcode. Basically, shortcodes are the small piece of code which let user to add dynamic content in WordPress posts, pages or sidebar widgets.…

Read More→

file_get_contents(): SSL operation failed with code 1 certificate verify failed

Arvind KumarPHPLeave a Comment on file_get_contents(): SSL operation failed with code 1 certificate verify failed

I got this error when I moved a site to new server. It was a simple file_get_contents() call to read an image file. If i copy pasted the url of the same file to open in browser it would open…

Read More→

How to know the location of a function defined in PHP

Arvind KumarPHPLeave a Comment on How to know the location of a function defined in PHP
A simple way to debug a php application in production mode

Sometimes you want to know the location of a function defined in your php application. For example you are debugging a large online web application or website. To continue debug you want to enter into a function to debug. You…

Read More→

Posts navigation

Previous 1 … 3 4 5 … 8 Next
  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • Build Reusable Components in React
  • Introduction to Node.js for Beginners
  • Getting Started with the MERN Stack: A Beginner’s Guide
  • Introduction to Node.js for Beginners
  • How to Modify WooCommerce Templates

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms
Facebook
fb-share-icon
LinkedIn
Share
WhatsApp
Follow by Email
Twitter
Post on X
Reddit
Pinterest
Instagram
RSS
Telegram