Changeset d2ed93e in git


Ignore:
Timestamp:
2014-09-11T17:09:30Z (3 years ago)
Author:
Xuefer <xuefer@…>
Branches:
master, trunk
Children:
70ad55b
Parents:
aa0709e
Message:

fix sample

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1527 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/sample.cpp.php

    r71137b9 rd2ed93e  
    1919namespace ns;
    2020#define _Exception \Exception
     21#else
     22#define _Exception Exception
    2123#endif
    2224
     
    234236        $a = 'a' . 'b';
    235237        $a = 'a' . 'abc';
     238        $a = __FILE__;
     239#if PHP_VERSION >= 530
     240        $a = __DIR__;
     241#endif
     242        $a = 'a' . __FILE__;
     243#if PHP_VERSION >= 530
     244        $a = 'a' . __DIR__;
     245#endif
    236246        @f1();
    237247        print('1');
     
    305315#endif
    306316    }
     317#if PHP_VERSION >= 500
    307318
    308319    public function __destruct()
    309320    {
    310321    }
    311 #if PHP_VERSION >= 500
    312322
    313323    /** doc */
     
    645655include_once 'include_once.php';
    646656echo __FILE__;
     657#if PHP_VERSION >= 530
     658echo __DIR__;
     659#endif
    647660echo __LINE__;
    648661#if PHP_VERSION >= 530
Note: See TracChangeset for help on using the changeset viewer.