File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests / bug32428.phpt
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 01:32:17 2013 UTC (11 years, 8 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17, HEAD
5.4.17

    1: --TEST--
    2: Bug #32428 (The @ warning error suppression operator is broken)
    3: --FILE--
    4: <?php 
    5:   $data = @$not_exists; 
    6:   $data = @($not_exists); 
    7:   $data = @!$not_exists; 
    8:   $data = !@$not_exists; 
    9:   $data = @($not_exists+1); 
   10:   echo "ok\n";
   11: ?>
   12: --EXPECT--
   13: ok

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>