aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-09-24 10:32:25 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-09-26 10:03:18 +0200
commit2ab40aa211bb12cf7692deb232bdcd48afc78396 (patch)
tree1f8e9a7bd57c2abadbaa164245d9308add948e29 /Documentation
parentbdb95e2c0f24f2c5d018b2a037a4f38fd1b54938 (diff)
downloadCompiler-2ab40aa211bb12cf7692deb232bdcd48afc78396.zip
Compiler-2ab40aa211bb12cf7692deb232bdcd48afc78396.tar.gz
Compiler-2ab40aa211bb12cf7692deb232bdcd48afc78396.tar.bz2
Update to PHP5.4.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/En/Index.xyl2
-rw-r--r--Documentation/Fr/Index.xyl2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/En/Index.xyl b/Documentation/En/Index.xyl
index 02f6fa6..76b3e6f 100644
--- a/Documentation/En/Index.xyl
+++ b/Documentation/En/Index.xyl
@@ -907,7 +907,7 @@ foreach($compiler->getTrace() as $element)
$rules = $compiler->getRules();
// 2. Start with the root rule.
-$stack = array($compiler->getRootRule() => true);
+$stack = [$compiler->getRootRule() => true];
while(false !== current($stack)) {
diff --git a/Documentation/Fr/Index.xyl b/Documentation/Fr/Index.xyl
index 8982bc1..8655263 100644
--- a/Documentation/Fr/Index.xyl
+++ b/Documentation/Fr/Index.xyl
@@ -943,7 +943,7 @@ foreach($compiler->getTrace() as $element)
$rules = $compiler->getRules();
// 2. Start with the root rule.
-$stack = array($compiler->getRootRule() => true);
+$stack = [$compiler->getRootRule() => true];
while(false !== current($stack)) {