Mercurial > hg > isophonics-drupal-site
view vendor/nikic/php-parser/test/code/parser/stmt/const.test @ 13:5fb285c0d0e3
Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've
been lucky to get away with this so far, as we don't support self-registration
which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5
was vulnerable to.
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:33:26 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
Global constants ----- <?php const A = 0, B = 1.0, C = 'A', D = E; ----- array( 0: Stmt_Const( consts: array( 0: Const( name: Identifier( name: A ) value: Scalar_LNumber( value: 0 ) ) 1: Const( name: Identifier( name: B ) value: Scalar_DNumber( value: 1 ) ) 2: Const( name: Identifier( name: C ) value: Scalar_String( value: A ) ) 3: Const( name: Identifier( name: D ) value: Expr_ConstFetch( name: Name( parts: array( 0: E ) ) ) ) ) ) )