--TEST-- Bug #71448 (Binding reference overwritten on php7) --SKIPIF-- true, 'timesten' => true); // test runs on these DBs require(__DIR__.'/skipif.inc'); ?> --FILE-- --EXPECT-- Test 1: Bind input parameter in a local function array(2) { [":VAR1"]=> string(6) "INSTR1" [":VAR2"]=> string(6) "INSTR2" } Test 2: Bind output parameter in a local function string(6) "xxxxxx" string(6) "xxxxxx" Test 3: Bind output parameter within the same scope of execute string(7) "OUTSTR1" string(7) "OUTSTR2" Test 4: Bind output parameter within the same scope of execute string(8) "STR1STR2" Test 5: Bind IN OUT parameter in a local function string(4) "STR1" string(4) "STR2" string(1) " " Test 6: Bind IN OUT parameter within the same scope of execute string(4) "STR1" string(4) "STR2" string(9) "STR1 STR2"