Tim Anthony Alexander
Tim Anthony Alexander
holy this "feature" is annoying.
Okay, here is the exact code: ``` public function calculate(){ $data = $this->data; $language = $this->language; $return = json_decode($this->apicall("https://emkc.org/api/v1/piston/execute", "source=$data&language=$language"), true); $this->return = $return; return $return["output"]; } private function apicall($url,...
Maybe I can setup a test API that outputs what exactly is received via this code to see if the code is exactly what I am trying to send. It...
Well I did setup a test API that shows me what it receives on that exact cURL Call: ```
> the code you supplied the first time doesn't match the code you supplied just now. this code does indeed result in an infinite loop. $x = $x++ doesn't do...
That seems to be the issue. Thank you for resolving it.