3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
┬ž<?php $callable = array('Foo', 'fooBar'); list($controller, $method) = is_array($callable) ? $callable : explode('::', $callable); var_dump($controller, $method);
Output for 4.3.0 - 7.2.0
┬žstring(3) "Foo" string(6) "fooBar"