3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $digestString = '{"cart":{"items":[{"type":"physical","reference":"SW10205","name":"Kangertech AeroTank MOW Schwarz","quantity":1,"unit_price":1695,"tax_rate":1900}]},"merchant":{"id":"38090","terms_uri":"http:\/\/powercigs-shop.de\/agb","checkout_uri":"http:\/\/powercigs-shop.de\/checkout\/confirm","confirmation_uri":"http:\/\/powercigs-shop.de\/payment_klarna\/return?transactionId={checkout.order.uri}","push_uri":"http:\/\/powercigs-shop.de\/payment_klarna\/push?session-1=mv6jqnhs5rc6p0b5pi7tg922a4&__shop=1&transactionId={checkout.order.uri}"},"purchase_country":"DE","purchase_currency":"EUR","locale":"de-de","options":{"allow_separate_shipping_address":true,"packstation_enabled":false,"phone_mandatory":false},"customer":{"type":"person","date_of_birth":"1990-08-05"},"shipping_address":{"given_name":"Andreas","family_name":"Lengle (TEST USER)","postal_code":"18146","city":"Rostock","country":"de","email":"larisakvashuk@mail.ru","phone":"01636060766","title":"Herr","street_name":"Kurt-Schumacher-Ring","street_number":"33"}}' . 'SHy5xUyF56yUY9C'; echo base64_encode(hash('sha256', $digestString, true));
based on 8QcsF
Output for 5.1.2 - 7.2.0
FA2+7NfVQ2TqLhsZtiLyG++PEUyiuxOpxwfszmNDOsU=
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/gRBg5 on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash() in /in/gRBg5 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash() in /in/gRBg5 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash() in /in/gRBg5 on line 3