3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $mesg_key = ftok(__FILE__, 'm'); // var_dump($mesg_key);
Output for 7.1.0
int(1832226233)
Output for 7.0.14
int(1832374993)
Output for 4.3.0 - 5.6.25, 7.0.0 - 7.0.10
int(1830079643)
Output for 5.6.28
int(1832433247)