3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://adtech-txws-adgtx.stg.iad2.nyt.net/taxonomy-exceptions'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $xml); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); $json = json_decode($response, true); curl_close($ch); print_r($json);

preferences:
40.14 ms | 402 KiB | 5 Q