• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

PHP each() function replacement

phpfunctionreplaceeachdeprecated


PHP Snippet 1:

[$key, current($array), 'key' => $key, 'value' => current($array)];

Related Snippets

Passing PHP JSON to Javascript: echo json_encode vs echo json declaration

Add 2 Webcam in one page with WebcamJS

ORA-12546: TNS:permission denied error connection to remote oracle server

Add custom text under order details on WooCommerce My account view order pages

How to remove index.php and index from the URL using htaccess | PHP

Laravel websockets AWS EC2 - Connection failed

Magento 2 - Controller returning blank page

Adding Multiple Custom Post Types in Wordpress

Adding multiple items to WooCommerce cart at once

Laravel post contact form giving me error 419

Group rows by column and sum another column within groups [duplicate]

PHP to search within txt file and echo the whole line

How to Create WooCommerce Subscription Product via. REST API?

PHP Form Not Inserting

Laravel Nova Dependency Container what are the allowed resource properties other than id in dependsOn

About Contact Privacy policy Terms and conditions