php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39828 Cannot echo 08
Submitted: 2006-12-14 06:17 UTC Modified: 2006-12-14 08:18 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: numb_skull1001 at yahoo dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.0 OS: windows XP
Private report: No CVE-ID: None
 [2006-12-14 06:17 UTC] numb_skull1001 at yahoo dot com
Description:
------------
problem on printing 08

Reproduce code:
---------------
<?php
echo 08;
?>

Expected result:
----------------
08

Actual result:
--------------
none

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-14 08:18 UTC] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The 0 in front of the 8 makes 08 an octal number, but the 8 is an invalid digit there.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 10:01:32 2024 UTC