3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $expression = "this(get, [that => 'that'])"; print_r(token_get_all($expression));
Output for 7.0.0 - 7.2.0
Array ( [0] => Array ( [0] => 321 [1] => this(get, [that => 'that']) [2] => 1 ) )
Output for 5.6.8 - 5.6.28
Array ( [0] => Array ( [0] => 314 [1] => this(get, [that => 'that']) [2] => 1 ) )
Output for 5.5.24 - 5.5.35
Array ( [0] => Array ( [0] => 312 [1] => this(get, [that => 'that']) [2] => 1 ) )
Output for 5.3.19 - 5.4.45
Array ( [0] => Array ( [0] => 311 [1] => this(get, [that => 'that']) [2] => 1 ) )