]> granicus.if.org Git - php/commitdiff
Fixed order of instructions...
authorBob Weinand <bobwei9@hotmail.com>
Sun, 19 Jan 2014 00:24:22 +0000 (19:24 -0500)
committerBob Weinand <bobwei9@hotmail.com>
Sun, 19 Jan 2014 00:24:22 +0000 (19:24 -0500)
phpdbg_cmd.c

index 69585a720f2c1021c0483459ae1e7f5f1ca31e8d..dee3b6da19b45d96558568ac6fd3b7106bca052c 100644 (file)
@@ -657,9 +657,9 @@ PHPDBG_API int phpdbg_do_cmd(const phpdbg_command_t *command, phpdbg_input_t *in
                                        }
                                }
 
-                               PHPDBG_G(lparam) = param;
                                initial_last_param = PHPDBG_G(lparam);
                                initial_last_cmd = (phpdbg_command_t *)PHPDBG_G(lcmd);
+                               PHPDBG_G(lparam) = param;
                                PHPDBG_G(lcmd) = (phpdbg_command_t *)command;
 
                                rc = command->handler(&param, input TSRMLS_CC);