Skip to content

Se traduce *The Basics*.#59

Open
glengemann wants to merge 1 commit into
phpdevenezuela:developfrom
glengemann:page-basics-es
Open

Se traduce *The Basics*.#59
glengemann wants to merge 1 commit into
phpdevenezuela:developfrom
glengemann:page-basics-es

Conversation

@glengemann

Copy link
Copy Markdown

Se traduce The Basics.

Comment thread pages/The-Basics.md
var_dump($a === '5'); // compara el tipo de dato y el valor (integer vs. string); regresa false

/**
* Strict comparisons

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mantener el comentario como en se encuentra en el original @Omerta

Comment thread pages/The-Basics.md
in conjunction to declare potential outcomes. However if the outcome is to define the return value, 'else' is not
necessary as 'return' will end the function, causing 'else' to become moot.
Cuando usamos la sentencia 'if/else' dentro de una función o método de una clase, hay un error común al creer que 'else' debe ser usada
para manejar un posible resultado. Sin embargo si el resultado es para establecer el valor de retorno, 'else' no es

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verificar los saltos de líneas.

Comment thread pages/The-Basics.md
* [PHP switch](http://phpswitch.com/)

## Global namespace
## Espacio de nombre global

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mantener la palabra reservada namespace en la documentación.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants