Answers for "how to set array push in php laravel"

PHP
6

add item to array in php

<?php

$a=array("red","green");

array_push($a,"blue","yellow");

print_r($a);
?>
Posted by: Guest on May-25-2020

Browse Popular Code Answers by Language