Ignore:
Timestamp:
2014-05-27T17:54:45+02:00 (12 months ago)
Author:
moo
Message:

fix build for pre-5.6

File:
1 edited

Legend:

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

    r1488 r1489  
    4545    static public $static_const11 = array(self::CONST_VALUE => self::CONST_VALUE);
    4646    static public $static_const12 = array(ClassName::CONST_VALUE => ClassName::CONST_VALUE);
     47#if PHP_VERSION >= 560
    4748    static public $ast_binop = ClassName::CONST_VALUE + ClassName::CONST_VALUE;
    4849    static public $ast_and = ClassName::CONST_VALUE && 1;
     
    5152    static public $ast_unaryPlus = +ClassName::CONST_VALUE;
    5253    static public $ast_unaryMinus = -ClassName::CONST_VALUE;
     54#endif
    5355    /** doc */
    5456    static public $public_static = array(2, 'str');
Note: See TracChangeset for help on using the changeset viewer.