<?php list($foo, $result) = explode(']', 'aaa]bbbb]cccc');var_export($result);
Standard input is empty
'bbbb'
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!