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 NvigM
Output for 4.3.2 - 7.2.0
Warning: sscanf(): Different numbers of variable names and field specifiers in /in/ZPVV3 on line 5 NULL string(20) "exists[casa.id|nova]"
Output for 4.3.0 - 4.3.1
Warning: sscanf() [http://www.php.net/function.sscanf]: Different numbers of variable names and field specifiers in /in/ZPVV3 on line 5 NULL string(20) "exists[casa.id|nova]"