3v4l.org

run code in 300+ PHP versions simultaneously
<?php $consumer_key = '15102ae1bd15946317d6bc2aa980f00e'; $private_key = '8aa6278625c27ad152fcb13db2cebbba'; $params = array( 'cost' => 2.50, 'cost_model' => 'cpi' ); $mcrypt_iv = substr($consumer_key, 0, 16); $query_str = http_build_query($params); $enc_raw = mcrypt_encrypt( MCRYPT_RIJNDAEL_128, $private_key, $query_str, 'cbc', $mcrypt_iv); $enc_str = bin2hex( $enc_raw ); echo $enc_str ;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /in/6aLOc:13 Stack trace: #0 {main} thrown in /in/6aLOc on line 13
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:
60.79 ms | 401 KiB | 8 Q