php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50493 Terminator and Variable
Submitted: 2009-12-16 14:12 UTC Modified: 2009-12-16 15:00 UTC
From: v dot srinath dot php at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.11 OS: Windows
Private report: No CVE-ID: None
 [2009-12-16 14:12 UTC] v dot srinath dot php at gmail dot com
Description:
------------
<?php
s
?>
output: nothing appears on browser.
<?php echo $row['column'];s?> 
doesn't show any error.
Is this code acceptable in php?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-16 14:21 UTC] jani@php.net
Yes, you get a notice. You just don't have notices enabled in your error_reporting setting. RTFM.
 [2009-12-16 15:00 UTC] v dot srinath dot php at gmail dot com
thanks.I am Newbie to PHP.

I turned on the error reporting engine and now I got the 'notice' reports. Here I assumed "s" as variable but it doesn't show any error.
So how "s" is considered here?
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC