3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $shops = [ 'sc.icfgjofgjgfnic2.fgjwegjb01-fglive' => ['au'], 'sc.jufgjdmia4gfdj.wefgb01' => ['ci','cm','eg','gh','ke','ma','ng'], 'sc.fhfghdj.j' => ['bd', 'ir', 'lk', 'mm', 'np', 'pk'], ]; echo max(1, array_sum(array_map('array_sum', array_values($shops))));
Output for 5.6.30, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.2.9
1