Bug #76912 [NEW]: curl_exec($ch) function not work properly in php Version 7.2.7 working on V5.3

From: Date: Fri, 21 Sep 2018 11:35:29 +0000
Subject: Bug #76912 [NEW]: curl_exec($ch) function not work properly in php Version 7.2.7 working on V5.3
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217179@lists.php.net to get a copy of this message
From: sushil dot adsare at konnet dot co dot in Operating system: windows 10 PHP version: 7.2Git-2018-09-21 (Git) Package: cURL related Bug Type: Bug Bug description: curl_exec($ch) function not work properly in php Version 7.2.7 working on V5.3 Description: ------------ Code $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($ch, CURLOPT_POSTFIELDS,$post); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); //execute post $output = curl_exec($ch); echo($output."Output !!!\n"); //close connection curl_close($ch); ************* This code runnin on Php v 5.3 but after update php version to 7.2.7 this is give expected result I try this code another pc which have php V5.3 it work properly Test script: --------------- please check function get_anx_status() from attach file i just add some print info for my understanding Expected result: ---------------- Expected result is curl execute and pass info to other php page Same Code is running on other machine, just have Version of php 5.3 -- Edit bug report at https://bugs.php.net/bug.php?id=76912&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76912&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76912&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76912&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76912&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76912&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76912&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76912&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76912&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76912&r=support Expected behavior: https://bugs.php.net/fix.php?id=76912&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76912&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76912&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76912&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76912&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76912&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76912&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76912&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76912&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76912&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76912&r=mysqlcfg

« previous php.bugs (#217179) next »