3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = '14910855968770314426'; $guid = base_convert($id, 10, 16); $guid2 = gmp_strval(gmp_init($id, 10), 16); var_dump($guid); var_dump($guid2);

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch master
string(16) "ceee0080a3915000" string(16) "ceee0080a39150ba"

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page