3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = array( 'language' => 'de-DE', 'timezone' => '-1200', 'referrer' => 'http://www.sistersurprise.de/bademode', 'cookies' => 1, 'tracking_id' => 'sistersurprise-001', 'page_url' => 'http://www.sistersurprise.de/search?term=bh', 'search' => array( 'term' => 'bh' ), ); echo urlencode(base64_encode(json_encode($data)));
Output for 5.2.0 - 7.1.0
eyJsYW5ndWFnZSI6ImRlLURFIiwidGltZXpvbmUiOiItMTIwMCIsInJlZmVycmVyIjoiaHR0cDpcL1wvd3d3LnNpc3RlcnN1cnByaXNlLmRlXC9iYWRlbW9kZSIsImNvb2tpZXMiOjEsInRyYWNraW5nX2lkIjoic2lzdGVyc3VycHJpc2UtMDAxIiwicGFnZV91cmwiOiJodHRwOlwvXC93d3cuc2lzdGVyc3VycHJpc2UuZGVcL3NlYXJjaD90ZXJtPWJoIiwic2VhcmNoIjp7InRlcm0iOiJiaCJ9fQ%3D%3D
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_encode() in /in/vFIhh on line 15
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_encode() in /in/vFIhh on line 15
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_encode() in /in/vFIhh on line 15
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_encode() in /in/vFIhh on line 15