{"id":16397191,"url":"https://github.com/unreal4u/arrayoperations","last_synced_at":"2026-06-13T01:31:22.422Z","repository":{"id":10689388,"uuid":"12930329","full_name":"unreal4u/arrayOperations","owner":"unreal4u","description":"Playground to learn about Iterators and SPL functions related to arrays","archived":false,"fork":false,"pushed_at":"2013-10-02T08:42:45.000Z","size":120,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-14T01:19:16.487Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unreal4u.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-18T17:58:36.000Z","updated_at":"2017-09-15T01:21:25.000Z","dependencies_parsed_at":"2022-09-01T18:23:35.633Z","dependency_job_id":null,"html_url":"https://github.com/unreal4u/arrayOperations","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/unreal4u/arrayOperations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unreal4u%2FarrayOperations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unreal4u%2FarrayOperations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unreal4u%2FarrayOperations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unreal4u%2FarrayOperations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unreal4u","download_url":"https://codeload.github.com/unreal4u/arrayOperations/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unreal4u%2FarrayOperations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34269363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-11T05:09:23.959Z","updated_at":"2026-06-13T01:31:22.393Z","avatar_url":"https://github.com/unreal4u.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"arrayOperations.class.php\n======\n\nCredits\n--------\n\nThis class is made by unreal4u (Camilo Sperberg). [http://unreal4u.com/](unreal4u.com)\n\nAbout this class\n--------\n\n* Originally conceived to be a receiver of all loose array-related functions that I've made throughout the years\n* Later also a playground to learn about Iterators and SPL functions (related to arrays)\n\nDetailed description\n---------\n\nThis package is a collection of functions related to array manipulation.\n\nBasic usage\n----------\n\n\u003cpre\u003einclude('arrayOperations.class.php');\n$arrayOperations = new arrayOperations();\n$result = $arrayOperations-\u003egetNextAndPrevious(11, array(1, 3, 5, 6, 8, 11));\n\u003c/pre\u003e\n\n* Congratulations! The returned array will look very similar to this:\n \u003cpre\u003e\n array (size=3)\n  'prev' =\u003e int 8\n  'next' =\u003e boolean false\n  'curr' =\u003e int 11\n \u003c/pre\u003e\n* Please see examples and PHPUnit tests for more options and advanced usage\n\nPending\n---------\n* Search for more loose functions spattered around my codebase\n\nVersion History\n----------\n\n* 0.1:\n    * Created class\n\nContact the author\n-------\n\n* Twitter: [@unreal4u](http://twitter.com/unreal4u)\n* Website: [http://unreal4u.com/](http://unreal4u.com/)\n* Github:  [http://www.github.com/unreal4u](http://www.github.com/unreal4u)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funreal4u%2Farrayoperations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funreal4u%2Farrayoperations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funreal4u%2Farrayoperations/lists"}