php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #10474 wrong object in an example, german doc
Submitted: 2001-04-24 12:23 UTC Modified: 2001-04-28 15:10 UTC
From: free dot fall at gmx dot de Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.2 OS: FreeBSD
Private report: No CVE-ID: None
 [2001-04-24 12:23 UTC] free dot fall at gmx dot de
function.mysql-fetch-field.html
WRONG:
echo "<PRE>
 blob:         $meta -> blob
 max_length:   $meta -> max_length
 multiple_key: $meta -> multiple_key
 name:         $meta -> name
 not_null:     $meta -> not_null
 numeric:      $meta -> numeric
 primary_key:  $meta -> primary_key
 table:        $meta -> table
 type:         $meta -> type
 unique_key:   $meta -> unique_key
 unsigned:     $meta -> unsigned
 zerofill:     $meta -> zerofill
 </PRE>";
OK:
    echo "<PRE>
 blob:         $meta->blob
 max_length:   $meta->max_length
 multiple_key: $meta->multiple_key
 name:         $meta->name
 not_null:     $meta->not_null
 numeric:      $meta->numeric
 primary_key:  $meta->primary_key
 table:        $meta->table
 type:         $meta->type
 unique_key:   $meta->unique_key
 unsigned:     $meta->unsigned
 zerofill:     $meta->zerofill
 </PRE>";

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-28 15:10 UTC] derick@php.net
Fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 00:01:27 2024 UTC