The question is about paypal API and v1/reporting/transactions and why json_decode returns NULL when ask more ?
Working code :
$a = exec(\'/usr/bin/cur