> On Thu, Jul 21, 2016 at 9:05 AM, Thomas Bley <ma...@thomasbley.de> wrote: > to me this code is perfectly readable and static code analysis is only > complaining about missing semicolons at the end of the lines and short > variable names: > > $x = loadConfig(); > $x = buildDic($x); > $x = getApp($x) > $x = getRouter($x) > $x = getDispatcher($x, $request) > $x = dispatchBusinessLogic($x, $request, new Response()) > $x = renderResponse($x) > $x = buildPsr7Response($x) > $response =emit($x); > A proper static analyzer would also not that $x is continuously changing types, another heave code smell.
> I'm not sure if there is a ORM or database library out there which constructs > SQL queries with non-oop calls, maybe you can give a real-world example. > The third example in the RFC (FBShipIt) shows this exact operator in a real-world usage in "php-like" code. -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php