3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Tdate{ static function getJour(){} } $a=$b=null; var_dump( token_get_all(Tdate::getJour($a,$b)));
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Deprecated: token_get_all(): Passing null to parameter #1 ($code) of type string is deprecated in /in/LDC6R on line 4 array(0) { }
Output for 5.4.2 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.21, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30
array(0) { }

preferences:
217.54 ms | 403 KiB | 254 Q