This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?hp | |
| /***************************** | |
| * | |
| * Prueba para reclutamiento 11 | |
| * | |
| ******************************/ | |
| //P1 | |
| function weight_word($string) { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| for($i = 0; $i <= 100; $i++) { | |
| if ( $i % 2 == 0 ) { | |
| echo "$i buzz \n"; | |
| } | |
| if ( $i % 3 == 0) { | |
| echo "$i fizz \n"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Services; | |
| use Illuminate\Foundation\Application; | |
| class ReportFactory | |
| { | |
| private $app; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class RandomUserRequest | |
| { | |
| private array $options = []; | |
| public function __construct(array $options) | |
| { | |
| if (!empty($options)) { | |
| foreach ($options as $key => $value) { |