row permutations multidimensional array php

I have tried by myself and I give up. If there is a multidimensional array 20,25 30,35 all its row permutations would be:

20,25   30,35 25,20   30,35 20,25   35,30 25,20   35,30 

If there is a multidimensional array 20,25 30,35 40,45 all its row permutations would be:

20,25   30,35   40,45 25,20   30,35   40,45 20,25   35,30   40,45 25,20   35,30   40,45 20,25   30,35   45,40 25,20   30,35   45,40 20,25   35,30   45,40 25,20   35,30   45,40 

If there is a multidimensional array 20,25 30,35 40,45 50,55 all its row permutations would be:

20,25   30,35   40,45   50,55 25,20   30,35   40,45   50,55 20,25   35,30   40,45   50,55 25,20   35,30   40,45   50,55 20,25   30,35   45,40   50,55 25,20   30,35   45,40   50,55 20,25   35,30   45,40   50,55 25,20   35,30   45,40   50,55 20,25   30,35   40,45   55,50 25,20   30,35   40,45   55,50 20,25   35,30   40,45   55,50 25,20   35,30   40,45   55,50 20,25   30,35   45,40   55,50 25,20   30,35   45,40   55,50 20,25   35,30   45,40   55,50 25,20   35,30   45,40   55,50 

And so on... How could be this achieved in PHP?

Replay

Category: php Time: 2016-07-30 Views: 0
Tags: php

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.112 (s). 12 q(s)