Skip to content

Commit 38bc238

Browse files
committed
fix
1 parent c39d03f commit 38bc238

File tree

5 files changed

+8
-1
lines changed

5 files changed

+8
-1
lines changed

modules/40-define-functions/200-return/en/EXERCISE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ Implement a function caleed `sayHurrayThreeTimes()`, which returns the string 'h
44
```php
55
$hurray = sayHurrayThreeTimes();
66
print_r($hurray); // => 'hurray! hurray! hurray!'
7+
```
78

89
You don't need to call your function, just define it.

modules/40-define-functions/200-return/en/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ function greeting()
5555

5656
`return` is a special instruction that takes the expression written on the right and passes it outside to the code that called the method. As soon as PHP encounters `return`, the function is terminated.
5757

58+
<!-- TODO: translate img -->
59+
<!-- ![how sum function works in PHP](./assets/sum-php.jpg) -->
60+
5861
```php
5962
<?php
6063

modules/40-define-functions/200-return/es/EXERCISE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ Implementa una función llamada `sayHurrayThreeTimes()` que retorne la cadena '
44
```php
55
$hurray = sayHurrayThreeTimes();
66
print_r($hurray); // => '¡hurray! ¡hurray! ¡hurray!'
7+
```
78

89
No es necesario llamar a tu función, solo definirla.

modules/40-define-functions/200-return/es/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ function saludo()
6060

6161
La instrucción `return` es especial. Toma la expresión que se encuentra a su derecha y la devuelve al código que llamó a la función. Tan pronto como PHP encuentra `return`, la ejecución de la función termina:
6262

63-
![Sum-php](../assets/sum-php.jpg)
63+
<!-- TODO: translate img -->
64+
<!-- ![Sum-php](./assets/sum-php.jpg) -->
6465

6566
```php
6667
<?php

modules/40-define-functions/200-return/ru/EXERCISE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
```php
55
$hurray = sayHurrayThreeTimes();
66
print_r($hurray); // => 'hurray! hurray! hurray!'
7+
```
78

89
Вам не нужно вызывать свою функцию, только определить её.

0 commit comments

Comments
 (0)