3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "Funcs: ". count(get_defined_functions()). "\n"; echo "Classes: ". count(get_declared_classes()). "\n";
Output for 7.1.0
Funcs: 2 Classes: 156
Output for 7.0.0 - 7.0.4, 7.0.12 - 7.0.14
Funcs: 2 Classes: 153
Output for 7.0.6
Funcs: 2 Classes: 152
Output for 7.0.5
Funcs: 2 Classes: 133
Output for hhvm-3.12.0
Funcs: 2 Classes: 298
Output for hhvm-3.10.0
Funcs: 2 Classes: 288
Output for 5.6.7 - 5.6.12, 5.6.16 - 5.6.19, 5.6.28
Funcs: 2 Classes: 143
Output for 5.5.24 - 5.5.28, 5.5.31 - 5.5.33, 5.5.35, 5.6.21
Funcs: 2 Classes: 142
Output for 5.6.13 - 5.6.15, 5.6.20
Funcs: 2 Classes: 124
Output for 5.5.29 - 5.5.30, 5.5.34
Funcs: 2 Classes: 123
Output for 5.4.7 - 5.4.45
Funcs: 2 Classes: 130
Output for 5.4.0 - 5.4.6
Funcs: 2 Classes: 129
Output for 5.3.0 - 5.3.29
Funcs: 2 Classes: 128
Output for 5.2.0 - 5.2.17
Funcs: 2 Classes: 105
Output for 5.1.2 - 5.1.6
Funcs: 2 Classes: 99
Output for 5.1.1
Funcs: 2 Classes: 95
Output for 5.1.0
Funcs: 2 Classes: 97
Output for 5.0.0 - 5.0.5
Funcs: 2 Classes: 67
Output for 4.3.0 - 4.4.9
Funcs: 2 Classes: 3