3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hex1 = "B5365D09"; $hex2 = "DEBC252C"; // Convert hexadecimal values to decimal $dec1 = hexdec($hex1); $dec2 = hexdec($hex2); // Perform multiplication operation $result = $dec1 * $dec2; // Convert result back to hexadecimal $hex_result = dechex($result); // Print result echo "Result: $hex_result\n";
Output for rfc.property-hooks, git.master, git.master_jit
Fatal error: Uncaught TypeError: dechex(): Argument #1 ($num) must be of type int, float given in /in/pPqhU:14 Stack trace: #0 /in/pPqhU(14): dechex(1.1360984175532E+19) #1 {main} thrown in /in/pPqhU on line 14
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

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


preferences:
40.24 ms | 1141 KiB | 4 Q