3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class NumberToWords { public static $baseNumbers = [ 0 => "zero", 1 => "nje", 2 => "dy", 3 => "tre", 4 => "kater", 5 => "pese", 6 => "gjashte", 7 => "shtate", 8 => "tete", 9 => "nente", 10 => "dhjete", ]; } var_dump(NumberToWords::baseNumbers);
based on KnhrP
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Undefined class constant 'baseNumbers' in /in/9in6T:21 Stack trace: #0 {main} thrown in /in/9in6T on line 21
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Fatal error: Undefined class constant 'baseNumbers' in /in/9in6T on line 21
Process exited with code 255.