Ignore:
Timestamp:
2013-07-19T08:50:48+02:00 (15 months ago)
Author:
moo
Message:

Decompiler: update PHP4 support for static method call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_disassembler/sample.cpp.php

    r1334 r1335  
    11<?php 
    22#if PHP_VERSION >= 500 
    3 #   define ClassClassName ClassName 
    43#   define PublicMethod public 
    54#else 
    6 #   define ClassClassName classname 
     5#   define ClassName classname 
    76#   define PublicMethod 
    87#   define abstract 
     
    2120#endif 
    2221 
    23 abstract class ClassClassName 
     22abstract class ClassName 
    2423{ 
    2524#if PHP_VERSION >= 500 
     
    118117        echo $GLOBALS['var']->indexProp; 
    119118        ClassName::__construct(); 
     119        ClassName::$func(); 
    120120        echo __CLASS__; 
    121121        echo __METHOD__; 
Note: See TracChangeset for help on using the changeset viewer.