how to convert array to number in php or laravel

  laravel, php

I need convert this array

array:2 [▼
  0 => "2"
  1 => "3"
]

to this : [2,3] Or 2,3

Im Use Laravel8

Source: Laravel

Leave a Reply