1Return and pass by ref 2----- 3<?php 4 5function a(&$b) {} 6function &a($b) {} 7----- 8array( 9 0: Stmt_Function( 10 attrGroups: array( 11 ) 12 byRef: false 13 name: Identifier( 14 name: a 15 ) 16 params: array( 17 0: Param( 18 attrGroups: array( 19 ) 20 flags: 0 21 type: null 22 byRef: true 23 variadic: false 24 var: Expr_Variable( 25 name: b 26 ) 27 default: null 28 hooks: array( 29 ) 30 ) 31 ) 32 returnType: null 33 stmts: array( 34 ) 35 ) 36 1: Stmt_Function( 37 attrGroups: array( 38 ) 39 byRef: true 40 name: Identifier( 41 name: a 42 ) 43 params: array( 44 0: Param( 45 attrGroups: array( 46 ) 47 flags: 0 48 type: null 49 byRef: false 50 variadic: false 51 var: Expr_Variable( 52 name: b 53 ) 54 default: null 55 hooks: array( 56 ) 57 ) 58 ) 59 returnType: null 60 stmts: array( 61 ) 62 ) 63) 64