PHP syntax for dereferencing function result

后端 未结 22 898
不知归路
不知归路 2020-11-22 02:14

Background

In every other programming language I use on a regular basis, it is simple to operate on the return value of a function without declaring

22条回答
  •  时光取名叫无心
    2020-11-22 02:48

    Actually, I've written a library which allows such behavior:

    http://code.google.com/p/php-preparser/

    Works with everything: functions, methods. Caches, so being as fast as PHP itself :)

提交回复
热议问题