-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Se traduce *The Basics*. #59
base: develop
Are you sure you want to change the base?
Conversation
|
||
/** | ||
* Strict comparisons |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
@@ -112,73 +109,73 @@ function test($a) | |||
* [Switch statements](http://php.net/control-structures.switch) | |||
* [PHP switch](http://phpswitch.com/) | |||
|
|||
## Global namespace | |||
## Espacio de nombre global |
There was a problem hiding this comment.
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.
Se traduce The Basics.