3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $interval = new \DateInterval('P10M'); var_dump(property_exists($interval, 'm')); $x = $interval; var_dump(property_exists($interval, 'm')); echo '¯\_(ツ)_/¯' . PHP_EOL;
based on ZT1Hg
Output for 7.0.20 - 7.2.0
bool(true) bool(true) ¯\_(ツ)_/¯
Output for 5.3.19 - 7.0.6
bool(false) bool(false) ¯\_(ツ)_/¯