Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Using sorting parameters:
SUBMITTED BY:
henry1874w
DATE:
June 25, 2017, 2:31 p.m.
FORMAT:
Text only
SIZE:
152 Bytes
Raw
Download
Tweet
HITS:
194
Go to comments
Report
<?php
$a1=array("Dog","Dog","Cat");
$a2=array("Pluto","Fido","Missy");
array_multisort($a1,SORT_ASC,$a2,SORT_DESC);
print_r($a1);
print_r($a2);
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus