PHP asynchronous request used magic method