Commit: 256a2e6666ea224b4f7e25047ac3ab8bb2f1afff Author: Anatol Belski <a...@php.net> Tue, 31 Jul 2018 20:45:47 +0200 Parents: 66ef4c100a1e31749d797e057f0dd7100162408d Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=256a2e6666ea224b4f7e25047ac3ab8bb2f1afff Log: Rewrite loop Changed paths: M include/BuildVC.php Diff: diff --git a/include/BuildVC.php b/include/BuildVC.php index 8fdfab7..d2cd3a0 100644 --- a/include/BuildVC.php +++ b/include/BuildVC.php @@ -78,9 +78,10 @@ class BuildVC { $env['NODEBUG'] = "1"; } - foreach ($env as $k => &$v) { + foreach ($env as $k => $v) { if (strtolower($k) == "path") { - $v = 'c:\apps\git\bin;' . $v; + $env[$k] = 'c:\apps\git\bin;' . $env[$k]; + break; } } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php