Picon
Picon

[PHP-BUG] Bug #69300 [NEW]: $GLOBALS always assigned as reference variable.

From:             sandeep dot singh dot bisht at gmail dot com
Operating system: Ubuntu
PHP version:      Irrelevant
Package:          Testing related
Bug Type:         Bug
Bug description:$GLOBALS always assigned as reference variable.

Description:
------------
---
From manual page: http://www.php.net/reserved.variables.globals
---

Test script:
---------------
<?php
#---------------------------------------------------------
#---First Normal case(GLOBAL variable assign to local variable)
#---------------------------------------------------------
$GLOBALS['abc']='123';
$test1=$GLOBALS;
$test1['abc']='1234';
echo $GLOBALS['abc']."\n"; #----------Output is 1234 Expecting 123
#--------------------------------------------------------------------
#---Function test case(Global variable assign into variable inside
function)
#----------------------------------------------------------------------
test();
echo $GLOBALS['abc']."\n";#-----------Output is 0000 Expecting 123
function test()
(Continue reading)

Maciej Sobaczewski | 21 Mar 06:45 2015
Picon
Picon

com web/qa: Quick improvements for pulls interface: pulls/index.php pulls/pullrequests.js

Commit:    d2fcde92a5421b1c0d4f04cebf4e98d15e2589f7
Author:    Sobak <msobaczewski <at> gmail.com>         Sat, 21 Mar 2015 06:45:54 +0100
Parents:   b5372bb6306ec741dc49b25aae3b5fb038c803c1
Branches:  master

Link:       http://git.php.net/?p=web/qa.git;a=commitdiff;h=d2fcde92a5421b1c0d4f04cebf4e98d15e2589f7

Log:
Quick improvements for pulls interface

- changed layout of single PR to save some space
- fixed GitHub user profile URL
- used HTML data-* instead of non-existing attributes

Changed paths:
  M  pulls/index.php
  M  pulls/pullrequests.js

Diff:
diff --git a/pulls/index.php b/pulls/index.php
index 03b9a97..4c59bc3 100644
--- a/pulls/index.php
+++ b/pulls/index.php
 <at>  <at>  -32,16 +32,9  <at>  <at>  common_header();
 	     vertical-align: middle;
      }

-     .ghuser {
-	     border: 1px solid #ffcc66;
-	     float: right;
(Continue reading)

JulienPauli | 20 Mar 09:56 2015
Picon
Picon

com web/qa: 5.5.23 release: include/release-qa.php

Commit:    b5372bb6306ec741dc49b25aae3b5fb038c803c1
Author:    Julien Pauli <jpauli <at> php.net>         Fri, 20 Mar 2015 09:56:05 +0100
Parents:   121e8a18e3d36235f92cf6ae86bcfd166ebf14c2
Branches:  master

Link:       http://git.php.net/?p=web/qa.git;a=commitdiff;h=b5372bb6306ec741dc49b25aae3b5fb038c803c1

Log:
5.5.23 release

Changed paths:
  M  include/release-qa.php

Diff:
diff --git a/include/release-qa.php b/include/release-qa.php
index 57c4284..fa59f14 100644
--- a/include/release-qa.php
+++ b/include/release-qa.php
 <at>  <at>  -74,7 +74,7  <at>  <at>  $QA_RELEASES = array(
 		),
 	),
 	
-	'5.5.23' => array(
+	'5.5.24' => array(
 		'active'		=> true,
 		'snaps'			=> array(
 			'prefix'	=> 'php5.5-latest',
 <at>  <at>  -82,11 +82,11  <at>  <at>  $QA_RELEASES = array(
 		),
 		'release'		=> array(
(Continue reading)

Ferenc Kovacs | 20 Mar 07:17 2015
Picon
Picon

com web/qa: 5.6.7 is released: include/release-qa.php

Commit:    121e8a18e3d36235f92cf6ae86bcfd166ebf14c2
Author:    kovacs.ferenc <kovacs.ferenc <at> ustream.tv>         Fri, 20 Mar 2015 07:17:11 +0100
Parents:   55b9eb8fa68516aa06b2e2b433ed1d35a9378cc0
Branches:  master

Link:       http://git.php.net/?p=web/qa.git;a=commitdiff;h=121e8a18e3d36235f92cf6ae86bcfd166ebf14c2

Log:
5.6.7 is released

Changed paths:
  M  include/release-qa.php

Diff:
diff --git a/include/release-qa.php b/include/release-qa.php
index ed57515..57c4284 100644
--- a/include/release-qa.php
+++ b/include/release-qa.php
 <at>  <at>  -91,7 +91,7  <at>  <at>  $QA_RELEASES = array(
 		),
 	),

-	'5.6.7' => array(
+	'5.6.8' => array(
 		'active'		=> true,
 		'snaps'			=> array(
 			'prefix'	=> 'php5.6-latest',
 <at>  <at>  -99,11 +99,11  <at>  <at>  $QA_RELEASES = array(
 		),
 		'release'		=> array(
(Continue reading)

Stanislav Malyshev | 20 Mar 07:14 2015
Picon
Picon

com web/qa: 5.4.40 next: include/release-qa.php

Commit:    55b9eb8fa68516aa06b2e2b433ed1d35a9378cc0
Author:    Stanislav Malyshev <smalyshev <at> gmail.com>         Thu, 19 Mar 2015 23:14:26 -0700
Parents:   3f4a19bf34342b4253ea2e517cd0c561537755ec
Branches:  master

Link:       http://git.php.net/?p=web/qa.git;a=commitdiff;h=55b9eb8fa68516aa06b2e2b433ed1d35a9378cc0

Log:
5.4.40 next

Changed paths:
  M  include/release-qa.php

Diff:
diff --git a/include/release-qa.php b/include/release-qa.php
index 2dfbd62..ed57515 100644
--- a/include/release-qa.php
+++ b/include/release-qa.php
 <at>  <at>  -58,7 +58,7  <at>  <at>  $QA_RELEASES = array(
 		),
 	),

-	'5.4.39' => array(
+	'5.4.40' => array(
 		'active'		=> true,
 		'snaps'			=> array(
 			'prefix'	=> 'php5.4-latest',

--

-- 
PHP Quality Assurance Mailing List <http://www.php.net/>
(Continue reading)

Johannes Schlüter | 10 Mar 11:56 2015
Picon
Picon

com web/qa: Added a section with information on debugging unexpectedly failing .phpt cases: write-test.php

Commit:    10e1643fe01f4ae2cc41749e9fbca033f77d4ce7
Author:    Freek Lijten <freeklijten <at> gmail.com>         Tue, 10 Mar 2015 11:56:55 +0100
Parents:   6516a3ee1e3e7397ac786a99063ecddde1d74372
Branches:  master

Link:       http://git.php.net/?p=web/qa.git;a=commitdiff;h=10e1643fe01f4ae2cc41749e9fbca033f77d4ce7

Log:
Added a section with information on debugging unexpectedly failing .phpt cases

Changed paths:
  M  write-test.php

Diff:
diff --git a/write-test.php b/write-test.php
index f8e641b..b765cc9 100644
--- a/write-test.php
+++ b/write-test.php
 <at>  <at>  -155,6 +155,40  <at>  <at>  some typing and ensure that you get a good basic format.
 See <a href="autogenerate.php">test case generation</a> for instructions on how to use it.</p>

 
+<h3><a name="debugging-tests" href="#debugging-tests" class="anchor">#</a>Debugging tests</h3>
+<p>While writing tests you will probably run into tests not passing while you think they should. The 'make
test' command
+provides you with debug information. Several files will be added per test in the same directory as the
.phpt file itself.
+Considering your test file is named foo.phpt, these files provide you with information that can help you
find out what went wrong:
+        <ul type="none">
(Continue reading)

Johannes Schlüter | 10 Mar 13:51 2015
Picon
Picon

com web/qa: Added missing file information for *.sh: write-test.php

Commit:    e4fcf7837971d4af40ae0e83aa066a6a6788a54f
Author:    Freek Lijten <freeklijten <at> gmail.com>         Tue, 10 Mar 2015 13:51:20 +0100
Parents:   10e1643fe01f4ae2cc41749e9fbca033f77d4ce7
Branches:  master

Link:       http://git.php.net/?p=web/qa.git;a=commitdiff;h=e4fcf7837971d4af40ae0e83aa066a6a6788a54f

Log:
Added missing file information for *.sh

Changed paths:
  M  write-test.php

Diff:
diff --git a/write-test.php b/write-test.php
index b765cc9..9e4a905 100644
--- a/write-test.php
+++ b/write-test.php
 <at>  <at>  -185,6 +185,11  <at>  <at>  Considering your test file is named foo.phpt, these files provide you with infor
                         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <!-- Give me some space! -->
 			The php code that was executed for this test.
 		</li>
+                <li>
+			<i>foo.sh</i><br />
+                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <!-- Give me some space! -->
+			An executable file that executes the test for you as it was executed during failure.
+		</li>
         </ul>
 </p>

(Continue reading)

Johannes Schlüter | 19 Mar 17:29 2015
Picon
Picon

com web/qa: Changed debugging into analyzing, that seems to be a better wording.: write-test.php

Commit:    3f4a19bf34342b4253ea2e517cd0c561537755ec
Author:    Freek Lijten <freeklijten <at> gmail.com>         Thu, 19 Mar 2015 17:29:44 +0100
Parents:   e4fcf7837971d4af40ae0e83aa066a6a6788a54f
Branches:  master

Link:       http://git.php.net/?p=web/qa.git;a=commitdiff;h=3f4a19bf34342b4253ea2e517cd0c561537755ec

Log:
Changed debugging into analyzing, that seems to be a better wording.

Changed paths:
  M  write-test.php

Diff:
diff --git a/write-test.php b/write-test.php
index 9e4a905..d681ac4 100644
--- a/write-test.php
+++ b/write-test.php
 <at>  <at>  -155,7 +155,7  <at>  <at>  some typing and ensure that you get a good basic format.
 See <a href="autogenerate.php">test case generation</a> for instructions on how to use it.</p>

 
-<h3><a name="debugging-tests" href="#debugging-tests" class="anchor">#</a>Debugging tests</h3>
+<h3><a name="analyzing-failing-tests" href="#analyzing-failing-tests"
class="anchor">#</a>Analyzing failing tests</h3>
 <p>While writing tests you will probably run into tests not passing while you think they should. The 'make
test' command
 provides you with debug information. Several files will be added per test in the same directory as the .phpt
file itself.
 Considering your test file is named foo.phpt, these files provide you with information that can help you
(Continue reading)

Dejame Decirte | 13 Mar 15:46 2015
Picon

Eldorado - "Mad Woman" first music video of the new album "Babylonia Haze"

Here you can view this newsletter online 
<http://www.eldoradorockband.com/newsletter/Eldorado_news_en_20150130>
---------------------------------------------------------------
*Eldorado /"Mad Woman"/ is here!*
*/Babylonia Haze/ released the 20th of February at 12h25*
*If you are wondering for the reasons of this day and hour... we will 
soon reveal it.*

Music video Mad Woman <http://youtu.be/sIFYQ4y7IU0>

Of all the albums released by Eldorado, */Babylonia Haze/* (English) / 
*/Karma Generator/* (Spanish) is probably the most influenced by the 
months on the road. The live evolution of the band has been the germ of 
the *ten songs* that constitute the album, arisen from improvisations 
and developments with psychedelic vocation, vague ideas that end up 
being rotund and the unconscious quest of new landscapes.  All of it 
with the stage as a permanent witness.

It is also an album of a *darker tendency, introspective and 
unsympathetic*, both with oneself and with the others, it deals with our 
own capacity to destroy and rebuild in a modern Babylon dominated by 
lower instincts, of the responsibility for our own destiny through our 
actions, all closely linked to the oriental belief of Karma. 
Action-Reaction.

Recorded in *Madrid Musigrama Studios* under the guidance of *Richard 
Chycki* between August and September 2014, mixed and mastered in the 
*Canadian Street of Dreams studios* of Richard Chycki, Eldorado 
introduces their new album.  Ten sharp and haunting songs that represent 
a step forward from what has been offered so far, new sounds for a 
(Continue reading)

JulienPauli | 6 Mar 10:09 2015
Picon
Picon

com web/qa: 5.5.23RC1: include/release-qa.php

Commit:    6516a3ee1e3e7397ac786a99063ecddde1d74372
Author:    Julien Pauli <jpauli <at> php.net>         Fri, 6 Mar 2015 10:09:46 +0100
Parents:   7038b5f168ef09c280c2c0c6b1c7e291a463b42f
Branches:  master

Link:       http://git.php.net/?p=web/qa.git;a=commitdiff;h=6516a3ee1e3e7397ac786a99063ecddde1d74372

Log:
5.5.23RC1

Changed paths:
  M  include/release-qa.php

Diff:
diff --git a/include/release-qa.php b/include/release-qa.php
index 7b43519..2dfbd62 100644
--- a/include/release-qa.php
+++ b/include/release-qa.php
 <at>  <at>  -82,11 +82,11  <at>  <at>  $QA_RELEASES = array(
 		),
 		'release'		=> array(
 			'type'		=> 'RC',
-			'number'    => 0,
-			'md5_bz2'   => '',
-			'md5_gz'    => '',
-			'md5_xz'    => '',
-			'date'      => '',
+			'number'    => 1,
+			'md5_bz2'   => 'e695e12375442db88111594d1342c71d',
+			'md5_gz'    => 'a464a8846352042eeeb37d927a76b12f',
(Continue reading)

Ferenc Kovacs | 6 Mar 07:23 2015
Picon
Picon

com web/qa: PHP-5.6.7RC1: include/release-qa.php

Commit:    7038b5f168ef09c280c2c0c6b1c7e291a463b42f
Author:    kovacs.ferenc <kovacs.ferenc <at> ustream.tv>         Fri, 6 Mar 2015 07:23:03 +0100
Parents:   0190a1cd2b51b3d5f056b3a1b689f0481822a36b
Branches:  master

Link:       http://git.php.net/?p=web/qa.git;a=commitdiff;h=7038b5f168ef09c280c2c0c6b1c7e291a463b42f

Log:
PHP-5.6.7RC1

Changed paths:
  M  include/release-qa.php

Diff:
diff --git a/include/release-qa.php b/include/release-qa.php
index 1fff0ac..7b43519 100644
--- a/include/release-qa.php
+++ b/include/release-qa.php
 <at>  <at>  -99,12 +99,12  <at>  <at>  $QA_RELEASES = array(
 		),
 		'release'		=> array(
 			'type'	    => 'RC',
-			'number'    => 0,
-			'md5_bz2'   => '',
-			'md5_gz'    => '',
-			'md5_xz'    => '',
-			'date'      => '',
-			'baseurl'   => 'https://downloads.php.net/jpauli/',
+			'number'    => 1,
+			'md5_bz2'   => 'b5bcff89c1670d63f9c45ca743f1bf20',
(Continue reading)


Gmane