3v4l.org

run code in 300+ PHP versions simultaneously
<?php $res = fopen(__FILE__, "r"); var_dump(serialize($res));
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.21, 7.4.0 - 7.4.10, 8.0.0alpha1 - beta3
string(4) "i:0;"