bug wamp 3 64bits
Posted by: Marcos Miguel (177.22.147.---)
Date: May 10, 2016 05:23PM

Good Morning.
I'm sorry for my English.
Well, after checking an error in wamp 3 64 I tested four machines all with windows 7 pro clean and only with java netbeans and updates of the windows , and three with INTEL and AMD .
I tested with all current versions of the site and wampserver3_x64_apache2.4.17_mysql5.7.9_php5.6.16_php7.0.0
presents the error to a " var_dump " beyond the correct information , also displays the location and the line of command.

In other everything works properly.
I could not find a solution that was not the version 3 of 32 bits that do not contain php 7 .

Please confirm if you have the same error and if there is a solution

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: RiggsFolly (Moderator)
Date: May 10, 2016 05:39PM

Hi,

I am sorry but I dont understand.

Try writing in your own language and then using Google Translate

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: Marcos Miguel (177.22.147.---)
Date: May 10, 2016 05:59PM

3 64-bit wamp with php7 when it receives a var_dump sends the command path and code line number ,
I tested all versions that are currently downloadable and only bug in version 3 64bits .



Portuguese in Brazil
o wamp 3 de 64 bits com php7 quando recebe um var_dump envia o caminho do comando e numero de linha do codigo,
testei todas as versoes que atualmente estao para download e somente da erro na versão 3 64bits.

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: Marcos Miguel (177.22.147.---)
Date: May 10, 2016 06:03PM

always used the WAMP and I exelente .
I looked in the manual and not found the answer to fix this .
I believe the error in this program

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: RiggsFolly (Moderator)
Date: May 10, 2016 06:51PM

Hi

var_dump () is PHP and we have no control over PHP we just use what comes out of the PHP group

Could you show an example of the output you are talking about please.

--------------------

var_dump () em PHP e nós-não tem controle sobre PHP é só usar o que sai do grupo PHP

Você poderia mostrar um exemplo da saída que você está falando, por favor

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: Otomatic (Moderator)
Date: May 10, 2016 07:07PM

Hi,

Same script as in [fr2.php.net]
<?php
$a = array(1, 2, array("a", "b", "c"winking smiley);
var_dump($a);
?>
For PHP 32bit 5.4.45, 5.5.35, 5.6.21, 7.0.6 and PHP 64 bit 5.6.21, 7.0.6, the output is always the same, with script name and line number :
G:\www\aviatechno\test\essais_var_dump.php:3:
array (size=3)
  0 => int 1
  1 => int 2
  2 => 
    array (size=3)
      0 => string 'a' (length=1)
      1 => string 'b' (length=1)
      2 => string 'c' (length=1)
Viewing the script name and line number is not specific to a 64-bit, but is whatever PHP versions in 32 or 64 bit.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: RiggsFolly (Moderator)
Date: May 10, 2016 08:39PM

Oto,

The new format only appears to happen on PHP7.0.6 in 32 bit

all previous versions on 32bit i.e. 5.6, 5.5 seem to use the old output format

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: Marcos Miguel (---.virtua.com.br)
Date: May 11, 2016 01:36AM

the result of var_dump this ok , the problem and showing the way and the line in the script

example:

<body>
<?php

$a="English this should be the way out";
$b="Portugues brasil esta deveria ser a saida";

var_dump($a);
var_dump($b);


?>

</body>


this being shown as output .


C:\wamp64\www\TESTE\cursos\modulos\04-replica-e-clonagem\04-replica-e-clonagem.php:18:string 'English this should be the way out' (length=34)
C:\wamp64\www\TESTE\cursos\modulos\04-replica-e-clonagem\04-replica-e-clonagem.php:19:string 'Portugues brasil esta deveria ser a saida' (length=41)



I know php and var_dump and know I should not be this answer on the screen.

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: Marcos Miguel (---.ubb.timbrasil.com.br)
Date: May 11, 2016 05:01AM

I solved part of the problem by changing the phpForApache.ini
wampserver3_x86_apache2.4.17_mysql5.7.9_php5.6.15 and putting in wampserver3_x64_apache2.4.17_mysql5.7.9_php5.6.16_php7.0.0

I continue testing

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: Otomatic (Moderator)
Date: May 11, 2016 09:35AM

Hi,

> I solved part of the problem by changing the phpForApache.ini
NO, NO, and NO !
You mix the initialization of a branch 5.6 with the 7.0 branch and it is definitely a very bad solution.
Do not be surprised if after that you have other problems.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: Otomatic (Moderator)
Date: May 11, 2016 10:49AM

Hi,

This "problem" comes from xdebug version 2.4.0
Xdebug replaces PHP's var_dump() function for displaying variables. Xdebug's version includes different colors for different types and places limits on the amount of array elements/object properties, maximum depth and string lengths. There are a few other functions dealing with variable display as well.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: Otomatic (Moderator)
Date: May 11, 2016 11:17AM

Hi,

With xdebug version 2.4.0, to avoid script name and line number in var_dump(), add config line under [xdebug] section in php.ini file (1) :
Line to add :
xdebug.overload_var_dump=1

(1) Wampmanager icon -> PHP -> php.ini

You must have things like this:
[xdebug]
zend_extension ="j:/wamp/bin/php/php7.0.6/zend_ext/php_xdebug-2.4.0-7.0-vc14.dll"

xdebug.remote_enable = off
xdebug.profiler_enable = Off
xdebug.profiler_enable_trigger = Off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="j:/wamp/tmp"
xdebug.show_local_vars=0
xdebug.overload_var_dump=1
Warning : paths are from MY installation. Use your paths.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: RiggsFolly (Moderator)
Date: May 11, 2016 11:33AM

Oto,


Nice catch, Bravo!

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: Marcos Miguel (---.virtua.com.br)
Date: May 12, 2016 01:05AM

ok I will try .
it's a shame not to have a key to set the depth .
whereas on off xo xdebug unanswered.
I will test this way.
OK thank you.

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: RiggsFolly (Moderator)
Date: May 12, 2016 01:07AM

A key to set the depth of what may I ask

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: bug wamp 3 64bits
Posted by: Marcos Miguel (177.22.147.---)
Date: May 13, 2016 10:26PM

Good Morning.
I tested on several machines and it worked perfectly.
thank you so much.

so I will be watching it should not be built by default .


and watching a little more and trying to contribute.

check the changelog this web because of all the versions are the same

I'm sorry again something and thank you.


bom dia.
testei em varias maquinas e funcionou perfeitamente.
muito obrigado.

so observando sera que nao deveria estar embutido por padrao.


e observando mais um pouco e tentando contribuir.

verifiquem os changelog que esta na web pois o de todas as versoes sao o mesmo

novamente me desculpe alguma coisa e muito obrigado.

Options: ReplyQuote


Sorry, only registered users may post in this forum.