{"id":18387417,"url":"https://github.com/anovsiradj/php-primitive","last_synced_at":"2025-06-10T17:07:11.106Z","repository":{"id":84130529,"uuid":"145444850","full_name":"anovsiradj/php-primitive","owner":"anovsiradj","description":"PHP Primitive OOP","archived":false,"fork":false,"pushed_at":"2019-01-13T22:28:50.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T03:56:49.793Z","etag":null,"topics":["oop","php","primitive","scalar"],"latest_commit_sha":null,"homepage":"","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/anovsiradj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-20T16:43:02.000Z","updated_at":"2019-01-13T22:28:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"36905b72-8f3c-471c-a1e0-75f4f0c9ec60","html_url":"https://github.com/anovsiradj/php-primitive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anovsiradj%2Fphp-primitive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anovsiradj%2Fphp-primitive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anovsiradj%2Fphp-primitive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anovsiradj%2Fphp-primitive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anovsiradj","download_url":"https://codeload.github.com/anovsiradj/php-primitive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anovsiradj%2Fphp-primitive/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259114468,"owners_count":22807244,"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":["oop","php","primitive","scalar"],"created_at":"2024-11-06T01:26:02.614Z","updated_at":"2025-06-10T17:07:11.082Z","avatar_url":"https://github.com/anovsiradj.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Todo(s)\n\n- `strings` default value for argument-N\n\n# Strings\n\nhttps://secure.php.net/ref.strings\n\ncaveats\n\n- `ctype_*()` is not available\n- `str_replace()` cannot passing-by-reference for `$count` (4th arguments)\n- `similar_text()` cannot passing-by-reference for `$percent` (3th arguments)\n- `sscanf()` ?\n\nbe carefull with function which could return `false` (e.g `strpos()`, `stripos()`, etc)\n\ninput only string,\noutput only string,\nif output not string,\nstring will not be updated and the result will be directly returned from `__call()` (e.g `explode`) or `return ((string) false);`\n\n# numbers (todo)\n\nhttps://secure.php.net/manual/en/ref.math.php\n\n# arrays\n\nhttps://secure.php.net/manual/en/ref.array.php\n\ncaveats\n\n- `compact()` ?\n- `extract()` not working / ignored because inside function\n- `isset()` aka `array_key_exists()`\n- `list()` is not avaiable\n- `range()` is not avaiable\n\n\n---\n\nLicense MIT.\n\nwhat is this? idk.\nhttps://stackoverflow.com/questions/6623130/scalar-vs-primitive-data-type-are-they-the-same-thing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanovsiradj%2Fphp-primitive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanovsiradj%2Fphp-primitive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanovsiradj%2Fphp-primitive/lists"}