Re: [PHP] Boolean type forced on string assignment inside if statement

2013-01-03 Thread Volmar Machado
-numbers). http://php.net/manual/en/language.operators.bitwise.php -- Forwarded message -- From: Volmar Machado qi.vol...@gmail.com Date: 3 January 2013 12:42 Subject: Re: [PHP] Boolean type forced on string assignment inside if statement To: Marc Guay marc.g...@gmail.com My

Re: [PHP] Boolean type forced on string assignment inside if statement

2013-01-03 Thread Volmar Machado
; } ? 2013/1/3 Andreas Perstinger andiper...@gmail.com: Volmar Machado qi.vol...@gmail.com wrote: When the one of the operators were 2, the cases with returns 2 otherwise returns 0 (Or 1 when any operator is 1). And if the operators are 1 and 2, return 0 too. Its curious for me

Fwd: Re: [PHP] Rest

2012-10-27 Thread Volmar Machado
-- Mensagem encaminhada -- De: Volmar Machado qi.vol...@gmail.com Data: 27/10/2012 17:07 Assunto: Re: [PHP] Rest Para: Matijn Woudt tijn...@gmail.com But if what you want to know, is how to works inside, google for PHPMaster.org REST PHP. They have a two part article about

Re: [PHP] Re: Programmers and developers needed

2012-09-18 Thread Volmar Machado
I guess that social structures didn't changed so much the last 10k years. I also guess if we want peace at all. The people just need to fight for something. Homogeneous world don't would bring heterogeneous ideas. Anyway I hope that you could do this, and become a great great genius, that will

Re: [PHP] Display Array Tree as Menu - Can't figure out how to find depth with something over 2 levels

2012-08-16 Thread Volmar Machado
http://www.php.net/manual/es/function.array-walk-recursive.php 2012/8/16 Tristan sunnrun...@gmail.com: I can't for the life of me figure out how to find the depth of the array that I'm looping through to output tabs or indentations to the display for each depth. The entries also have section

Re: [PHP] Display Array Tree as Menu - Can't figure out how to find depth with something over 2 levels

2012-08-16 Thread Volmar Machado
I have develop a solution in a one function as in the example, which permit you to have n-level menu array, if you want you can change the returns by a echo to, if you want the ouput in html. http://pastebin.com/QJUsxPBw -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Reading class variable value always returns NULL

2012-08-13 Thread Volmar Machado
It's only a hint, but You start checking if the Object Ids are the same or not. 2012/8/13 Robert Cummings rob...@interjinn.com: On 12-08-12 08:32 AM, Reto Kaiser wrote: Hi, So I have this strange situation where I assign a classvariable a value, but when I read the value it is NULL. The

Re: [PHP] Quem esta por dentro de PSR?

2012-07-10 Thread Volmar Machado
Sorry, I sent to wrong list :/ Em 10 de julho de 2012 11:05, Daniel Brown danbr...@php.net escreveu: 2012/7/10 Volmar Machado qi.vol...@gmail.com: Nao sei se sabem, mas tem uma galera implemantendo PSR-X, que sao padroes para desenvolvimento em PHP. Gostaria de saber o que pensam disso