Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Insert "blue" and "yellow" to the end of an array:
SUBMITTED BY:
henry1874w
DATE:
June 25, 2017, 2:35 p.m.
FORMAT:
Text only
SIZE:
82 Bytes
Raw
Download
Tweet
HITS:
202
Go to comments
Report
<?php
$a=array("red","green");
array_push($a,"blue","yellow");
print_r($a);
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus