3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $field = 'exists[casa.id|nova]'; sscanf($field, '%[^.].%[^.]', $table, $field); var_dump($table); var_dump($field);
based on FV7Pj
Output for 4.3.0 - 7.2.0
string(11) "exists[casa" string(8) "id|nova]"