sourceNewArraySyntax rewriter
new Array Syntax apply to all sources

according attention to:
use control\chrono;
$testIt = 10000000;
chrono::start('array');
	for($i=0;$i<$testIt;$i++)
		$var = array();
chrono::showAll('array');
chrono::start('[]');
	for($i=0;$i<$testIt;$i++)
		$var = [];
chrono::showAll('[]');

rewriter function developped and tested with:
$src = '

	<?php

	$test2 = func(func(func(array()())))

	$test = array(array(
		test2(
			array(array(array(
				test("hello"),(array(()))
			))),
		)
	)); test( print_r(array(),true) );

	function hello( array $var = array("test")){

	}

';
$src = PHP::sourceNewArraySyntax($src);
echo '<pre>'.htmlentities($src).'</pre>';

using:
include('surikat/control.php');
control::dev();
use control\FS;
use control\PHP;
FS::recurse(control::$SURIKAT,function($file){
	if(substr($file,-
4)=='.php')		file_put_contents($file,PHP::sourceNewArraySyntax(file_get_contents($file)));
});