3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $options = array( 'CURLOPT_URL' => 'https://promin.privatbank.ua:8072/ChameleonServer/sessions/get/130410CSaz0nmobvrlca' 'CURLOPT_RETURNTRANSFER' => true, 'CURLOPT_FOLLOWLOCATION' => false, 'CURLOPT_POST' => false, 'CURLOPT_CUSTOMREQUEST' => 'GET', 'CURLOPT_HTTPGET' => true, 'CURLOPT_CONNECTTIMEOUT' => 30, 'CURLOPT_HTTPHEADER' => array( 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8' ), ); $ch = curl_init(); curl_setopt_array($ch, $options); var_dump(curl_exec($ch)); curl_close($ch);
Output for 5.4.0 - 5.4.13
Parse error: syntax error, unexpected ''CURLOPT_RETURNTRANSFER'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/91VU1 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.23
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/91VU1 on line 4
Process exited with code 255.