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(1832468651)
Output for 7.0.14
int(1832354602)
Output for 5.5.25 - 5.5.32, 5.5.34, 5.6.8 - 5.6.18, 5.6.20 - 5.6.21, 7.0.0 - 7.0.3, 7.0.5 - 7.0.6
int(1830105455)
Output for 4.3.0 - 5.4.45, 5.5.33, 5.6.19, 7.0.4
int(1830039919)
Output for 5.6.28
int(1832420188)
Output for 5.5.24, 5.5.35
int(1830095090)