• 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

Category "arrays"

PHP array slice from position + attempt to return fixed number of items

6 snippets

PHP rotate matrix counter-clockwise

6 snippets

PHP array stringify

6 snippets

Converting array to string and then back in PHP

6 snippets

Filter array by skipping every nth element from the end

6 snippets

Chunk and transpose a flat array into rows with a specific number of columns

6 snippets

Split array into 4-element chunks then implode into strings

6 snippets

Merge column values from two arrays to form an indexed array of associative arrays

6 snippets

Group data in a multidimensional array based on two columns

6 snippets

PHP array, move keys and values to new array, but mix it up

5 snippets

Multiply each value in array using array_map function

5 snippets

PHP Array split string and Integers

5 snippets

PHP echo values of all sub keys [duplicate]

5 snippets

Sum array values

5 snippets

PHP -> Next nearest date defined by array of days in week

5 snippets

How to update array value in Laravel

5 snippets

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

5 snippets

Transpose csv file data [duplicate]

4 snippets

Using Associative arrays

4 snippets

Create a new line whenever an array value reaches more than 10 characters

4 snippets

  • « Previous
  • Next »

Other Categories

saml-2.0

python-3.x

tree

implode

webpack

webp

product

module

notice

temp-tables

laravel-excel

e-commerce

shopping-cart

response

reactjs

broken-links

symfony-3.4

file-extension

lms

printf

laravel-8

http2

uuid

laravel-9

upgrade

google-chrome

websocket

dingo-api

desktop-application

jpgraph

About Contact Privacy policy Terms and conditions