3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fd1 = fopen("php://stdout", "w"); $fd2 = fopen("php://stdout", "w"); var_dump((int) $fd1, (int) $fd2);
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0alpha1
int(5) int(6)
Output for hhvm-3.15.4
int(4) int(5)