3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php printf("%d classes, %d interfaces,", count(get_declared_classes()), count(get_declared_interfaces()));
Output for 7.2.0
157 classes, 18 interfaces,
Output for 7.1.0 - 7.1.10
156 classes, 18 interfaces,
Output for 7.0.0 - 7.0.4, 7.0.20
153 classes, 18 interfaces,
Output for 7.0.6
152 classes, 18 interfaces,
Output for 7.0.5
133 classes, 18 interfaces,
Output for 5.6.8 - 5.6.12, 5.6.16 - 5.6.19, 5.6.28
143 classes, 16 interfaces,
Output for 5.5.24 - 5.5.28, 5.5.31 - 5.5.33, 5.5.35, 5.6.21
142 classes, 16 interfaces,
Output for 5.6.13 - 5.6.15, 5.6.20
124 classes, 16 interfaces,
Output for 5.5.29 - 5.5.30, 5.5.34
123 classes, 16 interfaces,
Output for 5.4.10 - 5.4.45
130 classes, 14 interfaces,
Output for 5.3.20 - 5.3.29
128 classes, 12 interfaces,