Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed some test case expected results (now breaks in PHP < 7)
  • Loading branch information
derickr committed Sep 12, 2015
1 parent edaa303 commit b05f748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/assignment-trace6.phpt
Expand Up @@ -50,7 +50,7 @@ TRACE START [%d-%d-%d %d:%d:%d]
=> self::foo[42] = 44 %sassignment-trace6.php:16
=> self::bar['test'] = array () %sassignment-trace6.php:18
=> $id = 'test' %sassignment-trace6.php:19
=> bar['test'][] = 55 %sassignment-trace6.php:20
=> self::bar['test'][] = 55 %sassignment-trace6.php:20
%w%f %w%d -> xdebug_stop_trace() %sassignment-trace6.php:25
%w%f %w%d
TRACE END [%d-%d-%d %d:%d:%d]
4 changes: 2 additions & 2 deletions tests/assignment-trace9.phpt
Expand Up @@ -66,11 +66,11 @@ TRACE START [%d-%d-%d %d:%d:%d]
=> self::b = array () %sassignment-trace9.php:21
=> self::b['bar'] = array () %sassignment-trace9.php:22
=> self::b['foo'] = class stdClass { } %sassignment-trace9.php:23
=> b['foo']->bar = 52 %sassignment-trace9.php:24
=> self::b['foo']->bar = 52 %sassignment-trace9.php:24
=> self::b = array () %sassignment-trace9.php:26
=> self::b['bar'] = array () %sassignment-trace9.php:27
=> self::b['foo'] = class stdClass { } %sassignment-trace9.php:28
=> b['foo']->bar = 52 %sassignment-trace9.php:29
=> self::b['foo']->bar = 52 %sassignment-trace9.php:29
=> $a = class testClass { public $a = array ('bar' => 52, 'foo' => class stdClass { public $bar = 52 }) } %sassignment-trace9.php:33
%w%f %w%d -> xdebug_stop_trace() %sassignment-trace9.php:35
%w%f %w%d
Expand Down

0 comments on commit b05f748

Please sign in to comment.