first commit

This commit is contained in:
2023-04-12 11:55:10 +07:00
commit e0dc21312f
17 changed files with 256 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?php
/**
* Menambah todo ke list
*/
function addTodoList(string $todo)
{
global $todoList;
$number = sizeof($todoList) + 1;
$todoList[$number] = $todo;
}