NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugger does not properly output array


Joined: 05 Apr 2010
Posts: 3
Reply with quote
I have noticed some strange behavior of debugger.

I debugged simple file :

<?php
$subject = "abcdef";
$pattern = '/def/';
preg_match($pattern, $subject, $matches);
print_r($matches);
?>

When run by RUN mode it outputs source :

Array ( [0] => def )

But when debugging it outputs source:

Array ( )

It seems to "forget" the values of array at the very end of debugging process and thinks that the array to output is empty.
View user's profileFind all posts by paszo2008Send private message


Joined: 11 Apr 2010
Posts: 90
Location: Prague, Czech Republic
Reply with quote
I'd suggest you to contact support and report this as a bug.
View user's profileFind all posts by fibizaSend private message
Debugger does not properly output array
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic