Tag: PHP

PHP array merge tutorial with example

PHP array_merge tutorial with example

PHP array merge tutorial with example. Best tutorial for learn PHP single dimensional, multidimensional, associative and all type of array merge process with example. Well! what will you learn from this PHP array_merge tutorial? You will learn following…

  Read More »

11 Bad coding practices should be avoided by PHP developer

PHP bad coding practices

PHP bad coding practices. As a quick or lazy PHP developer here are 11 Bad coding practices should be avoided by PHP developer. Read list to check, if you have any of them.

  Read More »

Deadly latest new technologies list combo for PHP web application development in 2018

Deadly latest new technologies list combo for PHP web application development in 2018

Deadly latest new technologies list combo for PHP web application development in 2018. List of in trends modern technologies for PHP application to development high performance and manageable coding.

  Read More »

PHP IF ELSE ELSEIF conditional statements best practices

PHP IF ELSE ELSEIF conditional statements best practices

PHP IF ELSE ELSEIF conditional statements best practices. IF statement best practices for different conditions. When to use ternary operator, How to break long IF conditions in multi line, When to use switch case instead of IF.

  Read More »

PHP looping statements – PHP tutorial

PHP

PHP looping statements – PHP tutorial. PHP looping statements used for execute same code multiple time. Looping statements loop on array and execute code between block, on every iteration block code have array element value to process.

  Read More »

File create in memory without disk storage using PHP

File create in memory without disk storage using PHP

File create in memory without disk storage using PHP. Create file in memory using PHP sys_get_temp_dir() funtion, without use of disk storage. File create in memory with example code snippet.

  Read More »

Fatal error: Cannot redeclare class className in: How to fix?

Fatal error: Cannot redeclare class

Fatal error: Cannot redeclare class className in.., Error comes when PHP process have duplicate class name in files and both files or class include/import in process.

  Read More »

What is undefined index Notice in PHP array process and How to avoid it?

PHP

Undefined index Notice in PHP array processing. When we try to access key in PHP array which not exists in array, PHP gives Undefined index Notice.

  Read More »

How to compare date in php – compare two dates – date with now time – much more

PHP

Cases: how to compare date in php, php compare datetime, php compare date with current date, php compare date with current date, php compare date with current date, how to compare two dates in php mysql, php mysql…

  Read More »

Are you smart enough to detect is PHP execution from cli command line cron job?

PHP

Detect cli execution in PHP. If you want to find PHP script request source, is it from cli(command line) cron job or from browser? php_sapi_name is best function for you.

  Read More »