Skip to main content
Adicionado exemplo no ideone
Fonte Link
Marcelo de Andrade
  • 7,4mil
  • 2
  • 33
  • 75

Utilize o array_shift:

$arr  = [['number'], [101010100], [30303030]];

array_shift($arr);

print_r($arr);

Retornará:

Array
(
    [0] => Array
        (
            [0] => 101010100
        )

    [1] => Array
        (
            [0] => 30303030
        )

)

Exemplo no ideone

Utilize o array_shift:

$arr  = [['number'], [101010100], [30303030]];

array_shift($arr);

print_r($arr);

Retornará:

Array
(
    [0] => Array
        (
            [0] => 101010100
        )

    [1] => Array
        (
            [0] => 30303030
        )

)

Utilize o array_shift:

$arr  = [['number'], [101010100], [30303030]];

array_shift($arr);

print_r($arr);

Retornará:

Array
(
    [0] => Array
        (
            [0] => 101010100
        )

    [1] => Array
        (
            [0] => 30303030
        )

)

Exemplo no ideone

Fonte Link
Marcelo de Andrade
  • 7,4mil
  • 2
  • 33
  • 75

Utilize o array_shift:

$arr  = [['number'], [101010100], [30303030]];

array_shift($arr);

print_r($arr);

Retornará:

Array
(
    [0] => Array
        (
            [0] => 101010100
        )

    [1] => Array
        (
            [0] => 30303030
        )

)