3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(CURLINFO_PRIMARY_IP);
Output for 5.5.0 - 7.1.0
Notice: Use of undefined constant CURLINFO_PRIMARY_IP - assumed 'CURLINFO_PRIMARY_IP' in /in/uSLIJ on line 2 string(19) "CURLINFO_PRIMARY_IP"
Output for 4.3.0 - 5.4.45
string(19) "CURLINFO_PRIMARY_IP"