Skip to content

Conversation

@glengemann
Copy link

Se traduce The Basics.

var_dump($a === '5'); // compara el tipo de dato y el valor (integer vs. string); regresa false
/**
* Strict comparisons
Copy link
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

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
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.

* [PHP switch](http://phpswitch.com/)
## Global namespace
## Espacio de nombre global
Copy link
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