Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001172graphvizOtherpublic2007-09-29 09:042011-04-28 04:03
ReporterMarcus Cobden 
Assigned Toellson 
PrioritynormalSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOS*-Unix-OS Version
Summary0001172: PHP Language Bindings Broken: Method overloading doesn't work
Description



Using the language bindings in php does not work with any method which is overloaded with the same amount of parameters.



eg nameof( or firstattr( or nextattr( only work for graph objects.
Steps To Reproduce

<?php
    require_once '../apps/lib/graphviz/php/gv.php';
    $f = get_extension_funcs("gv");

    echo "Functions:\n";
    foreach ($f as $name) {
        echo $name, "\n";
    }

    $g = graph("my graph");
    echo "\nType of graph:\n";
    var_dump($g);

    $n = node($g, "my node");
    echo "Type of node:\n";
    var_dump($n);

    layout($g, "dot");
    render($g);

    $attr = firstattr($n);
    echo "Type of attr:\n";
    var_dump($attr);

    echo "Name of attr: ", nameof($attr), "\n";
Additional Information
probably affects more functions than those I've tried.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1201
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.1
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker