combinations in php
I want to do a combination of numbers in an array with an array php, for example:

    Array( 1 , 2 , 3 , 4 ) 

I wish to return something similar to

    1 and 2
    1 and 3
    1 and 4
    2 and 3
    2 and 4
    3 and 4

Thanks.
combinations in php
===

I want to do a combination of numbers in an array with an array php, for example:

    Array( 1 , 2 , 3 , 4 ) 

I wish to return something similar to

    1 and 2
    1 and 3
    1 and 4
    2 and 3
    2 and 4
    3 and 4

Thanks.