mirror of
https://github.com/t404owo/t404null.git
synced 2026-08-07 05:00:06 +00:00
Fixed twitter link
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
class Example
|
||||
{
|
||||
public function even($numbers)
|
||||
{
|
||||
$numbers = array_filter($numbers, function($number) {
|
||||
return $number % 2 === 0;
|
||||
});
|
||||
|
||||
return array_merge($numbers);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user