NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugging fails with simple PHP tag <?


Joined: 30 Jul 2004
Posts: 3
Reply with quote
I use the debugger under windows (v3.8.) and the following piece of code is not recognized by the debugger. It simply steps over it and shows no output:

<?
echo "Hello";
?>

But when I start with <?php then the debugger steps right into it and works correctly, like

<?php
echo "Hello";
?>

Is this a real problem or am I missing a setting somewhere?

Thanks
View user's profileFind all posts by ShakySend private message


Joined: 23 Nov 2006
Posts: 48
Location: Netherlands
Reply with quote
did you enable php shorttags?

_________________
MV
View user's profileFind all posts by MacVatoSend private messageVisit poster's website


Joined: 30 Jul 2004
Posts: 3
Reply with quote
I both enabled and disabled the php short tags, but with no result.
View user's profileFind all posts by ShakySend private message


Joined: 23 Nov 2006
Posts: 48
Location: Netherlands
Reply with quote
you are probably using a different php.ini when using the debugger, try phpinfo() to see which file you are using

_________________
MV
View user's profileFind all posts by MacVatoSend private messageVisit poster's website
Debugging fails with simple PHP tag <?
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