Bug #69638 [NEW]: Class does not return expected result
| From: | camilleri dot jon at gmail dot com | Date: | Fri, 15 May 2015 07:58:37 +0000 |
| Subject: | Bug #69638 [NEW]: Class does not return expected result | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-12333@lists.php.net to get a copy of this message | ||
From: camilleri dot jon at gmail dot com
Operating system: Windows 8
PHP version: 5.6.9
Package: Documentation problem
Bug Type: Bug
Bug description:Class does not return expected result
Description:
------------
I am using Adobe Dreamweaver CS3, and, trying out sample code from
http://php.net/manual/en/intro-whatcando.php,
however, it appears that
the html sample provided is not returning any information from the class
exemplified.
I tried on Google Chrome and IE11.
Is this a browser specific issue?
<html>
<head>
</head>
<body>
<p>
<? php
class Vehicle {
public function hok()
}
$bicycle = new Bicycle();
echo $bicycle->honk();
</p>
</body>
</html>
Test script:
---------------
One has to use manual testing with the sample code provided in the
previous field, in order to allow me to proceed.
--
Edit bug report at https://bugs.php.net/bug.php?id=69638&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69638&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69638&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69638&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69638&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69638&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69638&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69638&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69638&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69638&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69638&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69638&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69638&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69638&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69638&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69638&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69638&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69638&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69638&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69638&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69638&r=mysqlcfg