{"id":19935941,"url":"https://github.com/full-stack-web-developer-and-designer/php-function-flip","last_synced_at":"2025-03-01T12:19:26.281Z","repository":{"id":204599954,"uuid":"594212624","full_name":"full-stack-web-developer-and-designer/PHP-function-flip","owner":"full-stack-web-developer-and-designer","description":"A custom PHP function flip() that use build-in PHP function rand() to select one of two values.","archived":false,"fork":false,"pushed_at":"2023-01-27T23:11:08.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T02:38:22.906Z","etag":null,"topics":["mirnesglamocic","php","phpfunction"],"latest_commit_sha":null,"homepage":"https://replit.com/@MirnesGlamocic/PHP-function-flip?v=1","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/full-stack-web-developer-and-designer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-27T21:35:20.000Z","updated_at":"2023-01-27T23:17:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"1476da8e-d2cd-4ea1-92ec-176cb907dc59","html_url":"https://github.com/full-stack-web-developer-and-designer/PHP-function-flip","commit_stats":null,"previous_names":["full-stack-web-developer-and-designer/php-function-flip"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/full-stack-web-developer-and-designer%2FPHP-function-flip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/full-stack-web-developer-and-designer%2FPHP-function-flip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/full-stack-web-developer-and-designer%2FPHP-function-flip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/full-stack-web-developer-and-designer%2FPHP-function-flip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/full-stack-web-developer-and-designer","download_url":"https://codeload.github.com/full-stack-web-developer-and-designer/PHP-function-flip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241361929,"owners_count":19950472,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mirnesglamocic","php","phpfunction"],"created_at":"2024-11-12T23:22:43.116Z","updated_at":"2025-03-01T12:19:26.256Z","avatar_url":"https://github.com/full-stack-web-developer-and-designer.png","language":"PHP","readme":"# PHP function flip\nThis repository contains a custom **PHP function** `flip()` that use **build-in PHP function** `rand()` to select one of two values. There is an included .coin class that is styled to be a blue circle, which can display representation of letters **A** and **B**. \n\nWith ternary operator if **function** `rand()` return **0** is returned letter **A**. Othervise return letter **B**.\n\n---\n\nTo check how it looks, click on the preview and then on the green run button.\n##\n[PREVIEW](https://replit.com/@MirnesGlamocic/PHP-function-flip?v=1)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffull-stack-web-developer-and-designer%2Fphp-function-flip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffull-stack-web-developer-and-designer%2Fphp-function-flip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffull-stack-web-developer-and-designer%2Fphp-function-flip/lists"}