repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/src/Exception/TimeoutException.php
src/Exception/TimeoutException.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Exception; use Runtim...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/src/Exception/InvalidCacheArgumentException.php
src/Exception/InvalidCacheArgumentException.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Exception; use Psr\Si...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/src/Exception/RuntimeTypeException.php
src/Exception/RuntimeTypeException.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Exception; use functi...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/clean-database.php
tests/clean-database.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use Laudis\Neo4j\Basic\Driver; use Laudis\Neo...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/EnvironmentAwareIntegrationTest.php
tests/EnvironmentAwareIntegrationTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests; use function i...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/OIDCTest.php
tests/Integration/OIDCTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/CacheTest.php
tests/Integration/CacheTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/EdgeCasesTest.php
tests/Integration/EdgeCasesTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/BoltDriverIntegrationTest.php
tests/Integration/BoltDriverIntegrationTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/ClientIntegrationTest.php
tests/Integration/ClientIntegrationTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/ConsistencyTest.php
tests/Integration/ConsistencyTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/ClientBuilderTest.php
tests/Integration/ClientBuilderTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Integration; use Laudis\Neo4j\Clie...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/SummarizedResultFormatterTest.php
tests/Integration/SummarizedResultFormatterTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/Neo4jLoggerTest.php
tests/Integration/Neo4jLoggerTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/BoltResultIntegrationTest.php
tests/Integration/BoltResultIntegrationTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/TransactionIntegrationTest.php
tests/Integration/TransactionIntegrationTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/BasicDriverTest.php
tests/Integration/BasicDriverTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Integration/ComplexQueryTest.php
tests/Integration/ComplexQueryTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Integration; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Performance/PerformanceTest.php
tests/Performance/PerformanceTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Performance; us...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Fixtures/MoviesFixture.php
tests/Fixtures/MoviesFixture.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Fixtures; final...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/ParameterHelperTest.php
tests/Unit/ParameterHelperTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Bolt\...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/SslConfigurationFactoryTest.php
tests/Unit/SslConfigurationFactoryTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Laudi...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/NoAuthTest.php
tests/Unit/NoAuthTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Bolt\...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/BoltFactoryTest.php
tests/Unit/BoltFactoryTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Bolt\...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/KerberosAuthTest.php
tests/Unit/KerberosAuthTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Bolt\...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/ConnectionPoolTest.php
tests/Unit/ConnectionPoolTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Bolt\...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/BasicAuthTest.php
tests/Unit/BasicAuthTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Bolt\...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/DNSAddressResolverTest.php
tests/Unit/DNSAddressResolverTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Laudi...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/CypherListTest.php
tests/Unit/CypherListTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use funct...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/Neo4jExceptionTest.php
tests/Unit/Neo4jExceptionTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Error...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/OpenIDConnectionAuthTest.php
tests/Unit/OpenIDConnectionAuthTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Laudi...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/CypherTypeTest.php
tests/Unit/CypherTypeTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use BadMe...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/CypherMapTest.php
tests/Unit/CypherMapTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Array...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
neo4j-php/neo4j-php-client
https://github.com/neo4j-php/neo4j-php-client/blob/1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5/tests/Unit/BoltConnectionPoolTest.php
tests/Unit/BoltConnectionPoolTest.php
<?php declare(strict_types=1); /* * This file is part of the Neo4j PHP Client and Driver package. * * (c) Nagels <https://nagels.tech> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Laudis\Neo4j\Tests\Unit; use Bolt\...
php
MIT
1084918914cbb90d5ad0a2cd3c4fe17f8b0c64b5
2026-01-05T03:08:24.322397Z
false
zounar/php-proxy
https://github.com/zounar/php-proxy/blob/67e83a8bd7489b220a94402664fa22d9e21e3d40/Proxy.php
Proxy.php
<?php namespace Zounar\PHPProxy; use CURLFile; use Exception; use RuntimeException; /** * @author Robin Zounar <https://github.com/zounar> * @license http://unlicense.org * @package Zounar\PHPProxy * * Credits to: * https://github.com/cowboy/php-simple-proxy/ * https://gist.github.com/iovar * * Usage:...
php
Unlicense
67e83a8bd7489b220a94402664fa22d9e21e3d40
2026-01-05T03:08:46.504605Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/.php-cs-fixer.php
.php-cs-fixer.php
<?php declare(strict_types=1); const config = new PhpCsFixer\Config(); const rules = [ '@PER-CS' => true, 'strict_param' => true, 'no_unused_imports' => true, 'array_syntax' => ['syntax' => 'short'], 'single_line_empty_body' => true, 'statement_indentation' => false, 'global_namespace_impo...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/JumpStatus.php
src/JumpStatus.php
<?php declare(strict_types=1); namespace GoPhp; enum JumpStatus { case Goto; case Break; case Continue; public function isLoopJump(): bool { return $this !== self::Goto; } }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/ScopeResolver.php
src/ScopeResolver.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\Env\EnvMap; final class ScopeResolver { private const string NO_PACKAGE = EnvMap::NAMESPACE_TOP; public string $currentPackage = self::NO_PACKAGE; public string $entryPointPackage = self::NO_PACKAGE; private bool $packageScope = false; ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/RuntimeResult.php
src/RuntimeResult.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\Debug\Debugger; use GoPhp\Error\GoError; use GoPhp\GoValue\GoValue; final class RuntimeResult { public function __construct( public readonly ExitCode $exitCode, public readonly ?GoValue $res, public readonly ?Debugger $debugger, ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/asserts.php
src/asserts.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\Builtin\BuiltinFunc\BuiltinFunc; use GoPhp\Error\InterfaceTypeError; use GoPhp\Error\InternalError; use GoPhp\Error\PanicError; use GoPhp\Error\RuntimeError; use GoPhp\GoType\GoType; use GoPhp\GoType\InterfaceType; use GoPhp\GoType\NamedType; use GoPhp\GoType...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/EnvVarSet.php
src/EnvVarSet.php
<?php declare(strict_types=1); namespace GoPhp; class EnvVarSet { public const string DEFAULT_GOROOT = '/usr/local/go'; public const string DEFAULT_GOPATH = '~/go'; public function __construct( public readonly string $goroot = self::DEFAULT_GOROOT, public readonly string $gopath = self::...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/Arg.php
src/Arg.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\GoValue\AddressableValue; /** * @template V of AddressableValue */ final class Arg { /** * @param V $value */ public function __construct( public readonly int $pos, public readonly AddressableValue $value, ) {} }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/ZeroArityValidator.php
src/ZeroArityValidator.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\Error\RuntimeError; use GoPhp\GoType\FuncType; final class ZeroArityValidator implements FuncTypeValidator { public function __construct( private readonly string $funcName, private readonly ?string $packageName = null, ) {} publi...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/JumpHandler.php
src/JumpHandler.php
<?php declare(strict_types=1); namespace GoPhp; use GoParser\Ast\Stmt\Decl; use GoParser\Ast\Stmt\ForStmt; use GoParser\Ast\Stmt\LabeledStmt; use GoParser\Ast\Stmt\Stmt; use GoParser\Ast\Stmt\SwitchStmt; use GoParser\Ast\Stmt\TypeDecl; use GoPhp\Error\RuntimeError; use GoPhp\Error\InternalError; final class JumpHan...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/InvokableCall.php
src/InvokableCall.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\GoValue\GoValue; use GoPhp\GoValue\Invokable; use GoPhp\GoValue\RecoverableInvokable; final class InvokableCall { use PositionAwareTrait; public function __construct( public readonly Invokable $func, private readonly Argv $argv, ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/JumpStack.php
src/JumpStack.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\Error\InternalError; use function array_key_last; use function array_pop; final class JumpStack { /** @var JumpHandler[] */ private array $stack = []; public function push(JumpHandler $jump): void { $this->stack[] = $jump; } ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/PositionAwareTrait.php
src/PositionAwareTrait.php
<?php declare(strict_types=1); namespace GoPhp; use GoParser\Lexer\Position; trait PositionAwareTrait { private ?Position $position = null; public function getPosition(): ?Position { return $this->position; } public function setPosition(Position $position): void { $this->po...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/PanicPointer.php
src/PanicPointer.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\Error\PanicError; final class PanicPointer { private ?PanicError $panic = null; public function set(PanicError $panic): void { $this->panic = $panic; } public function clear(): void { $this->panic = null; } ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/InvokableCallList.php
src/InvokableCallList.php
<?php declare(strict_types=1); namespace GoPhp; final class InvokableCallList { /** * @var list<InvokableCall> */ private array $calls = []; public function add(InvokableCall $call): void { $this->calls[] = $call; } public function empty(): void { $this->calls ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/Interpreter.php
src/Interpreter.php
<?php declare(strict_types=1); namespace GoPhp; use GoParser\Ast\AliasDecl; use GoParser\Ast\DefaultCase; use GoParser\Ast\Expr\BinaryExpr; use GoParser\Ast\Expr\CallExpr; use GoParser\Ast\Expr\CompositeLit; use GoParser\Ast\Expr\Expr; use GoParser\Ast\Expr\FloatLit; use GoParser\Ast\Expr\FullSliceExpr; use GoParser...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
true
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/RuntimeResultBuilder.php
src/RuntimeResultBuilder.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\Debug\Debugger; use GoPhp\Error\GoError; use GoPhp\Error\InternalError; use GoPhp\GoValue\GoValue; final class RuntimeResultBuilder { private ?GoValue $result = null; private ?Debugger $debugger = null; private ?GoError $error = null; private...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/DeferredStack.php
src/DeferredStack.php
<?php declare(strict_types=1); namespace GoPhp; use function array_reverse; final class DeferredStack { /** @var array<int, InvokableCallList> */ private array $stack = []; private int $context = 0; public function newContext(): void { $this->stack[$this->context++] = new InvokableCallL...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/CompositeValueBuilder.php
src/CompositeValueBuilder.php
<?php declare(strict_types=1); namespace GoPhp; use GoParser\Ast\Expr\Expr; use GoParser\Ast\KeyedElement; use GoPhp\GoValue\GoValue; /** * @psalm-type Evaluator = callable(Expr): GoValue */ interface CompositeValueBuilder { /** * @param Evaluator $evaluator */ public function push(KeyedElement ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/Operator.php
src/Operator.php
<?php declare(strict_types=1); namespace GoPhp; use GoParser\Ast\Operator as AstOperator; use GoPhp\Error\InternalError; enum Operator: string { // binary case Plus = '+'; case Minus = '-'; case Mul = '*'; case Div = '/'; case Mod = '%'; case BitAnd = '&'; case BitOr = '|'; case...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/ImportHandler.php
src/ImportHandler.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\Error\RuntimeError; use function file_get_contents; use function glob; use function is_dir; use function is_file; use function sprintf; class ImportHandler { final protected const string EXTENSION_GO = 'go'; final protected const string EXTENSION_GO...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/utils.php
src/utils.php
<?php declare(strict_types=1); namespace GoPhp; use GoParser\Ast\GroupSpec; use GoParser\Ast\Spec; use GoPhp\Env\EnvMap; use GoPhp\GoType\GoType; use GoPhp\GoType\NamedType; use GoPhp\GoType\UntypedType; use GoPhp\GoValue\AddressableValue; use GoPhp\GoValue\PointerValue; use GoPhp\GoValue\Unwindable; /** * Version...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/ArgvBuilder.php
src/ArgvBuilder.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\Builtin\BuiltinFunc\Marker\PermitsStringUnpacking; use GoPhp\Error\RuntimeError; use GoPhp\GoValue\AddressableValue; use GoPhp\GoValue\BuiltinFuncValue; use GoPhp\GoValue\GoValue; use GoPhp\GoValue\Invokable; use GoPhp\GoValue\Slice\SliceValue; use GoPhp\GoVa...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/ExitCode.php
src/ExitCode.php
<?php declare(strict_types=1); namespace GoPhp; enum ExitCode: int { case Success = 0; case Failure = 1; }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/Argv.php
src/Argv.php
<?php declare(strict_types=1); namespace GoPhp; use ArrayAccess; use Countable; use GoPhp\Error\InternalError; use function count; /** * @template-implements ArrayAccess<int, Arg> */ final class Argv implements ArrayAccess, Countable { /** * @param list<Arg> $values */ public function __constru...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/FuncTypeValidator.php
src/FuncTypeValidator.php
<?php declare(strict_types=1); namespace GoPhp; use GoPhp\Error\RuntimeError; use GoPhp\GoType\FuncType; interface FuncTypeValidator { /** * Whether the validator supports given Qualified Name or nor */ public function supports(string $name, string $package): bool; /** * Throws on valida...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/TypeResolver.php
src/TypeResolver.php
<?php declare(strict_types=1); namespace GoPhp; use Closure; use GoParser\Ast\EmbeddedFieldDecl; use GoParser\Ast\Expr\ArrayType as AstArrayType; use GoParser\Ast\Expr\Expr; use GoParser\Ast\Expr\FuncType as AstFuncType; use GoParser\Ast\Expr\InterfaceType as AstInterfaceType; use GoParser\Ast\Expr\MapType as AstMap...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/Debug/CallStackCollectorDebugger.php
src/Debug/CallStackCollectorDebugger.php
<?php declare(strict_types=1); namespace GoPhp\Debug; use GoPhp\Error\InternalError; use GoPhp\GoValue\AddressableValue; use GoPhp\GoValue\BuiltinFuncValue; use GoPhp\InvokableCall; final class CallStackCollectorDebugger implements Debugger { public const int DEFAULT_STACK_TRACE_DEPTH = 128; private readon...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/Debug/Debugger.php
src/Debug/Debugger.php
<?php declare(strict_types=1); namespace GoPhp\Debug; use GoPhp\InvokableCall; interface Debugger { public function addStackTrace(InvokableCall $call): void; public function releaseLastStackTrace(): void; public function getCallStack(): CallStack; }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/Debug/CallTrace.php
src/Debug/CallTrace.php
<?php declare(strict_types=1); namespace GoPhp\Debug; use GoParser\Lexer\Position; final class CallTrace { public function __construct( public readonly string $name, public readonly ?Position $position, ) {} }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/Debug/utils.php
src/Debug/utils.php
<?php declare(strict_types=1); namespace GoPhp\Debug; use GoParser\Lexer\Position; use function realpath; use function sprintf; use const STDERR; /** * Dumps the call stack to STDERR. */ function dump_call_stack(CallStack $callStack): void { $positionDumper = fn(?Position $position): string => $position ===...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/Debug/CallStack.php
src/Debug/CallStack.php
<?php declare(strict_types=1); namespace GoPhp\Debug; use function array_pop; use function array_reverse; use function array_shift; use function count; final class CallStack { /** * @var list<CallTrace> */ private array $callTraces = []; public function __construct( private readonly i...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/StmtJump/FallthroughJump.php
src/StmtJump/FallthroughJump.php
<?php declare(strict_types=1); namespace GoPhp\StmtJump; final class FallthroughJump implements StmtJump {}
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/StmtJump/ReturnJump.php
src/StmtJump/ReturnJump.php
<?php declare(strict_types=1); namespace GoPhp\StmtJump; use GoPhp\GoValue\GoValue; use GoPhp\GoValue\TupleValue; use GoPhp\GoValue\VoidValue; /** * @template V of GoValue */ final class ReturnJump implements StmtJump { public const int LEN_VOID = 0; public const int LEN_SINGLE = 1; /** * @param...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/StmtJump/BreakJump.php
src/StmtJump/BreakJump.php
<?php declare(strict_types=1); namespace GoPhp\StmtJump; final class BreakJump implements StmtJump { public function __construct( public readonly ?string $label, ) {} }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/StmtJump/None.php
src/StmtJump/None.php
<?php declare(strict_types=1); namespace GoPhp\StmtJump; final class None implements StmtJump {}
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/StmtJump/GotoJump.php
src/StmtJump/GotoJump.php
<?php declare(strict_types=1); namespace GoPhp\StmtJump; final class GotoJump implements StmtJump { public function __construct( public readonly string $label, ) {} }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/StmtJump/StmtJump.php
src/StmtJump/StmtJump.php
<?php declare(strict_types=1); namespace GoPhp\StmtJump; interface StmtJump {}
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/StmtJump/ContinueJump.php
src/StmtJump/ContinueJump.php
<?php declare(strict_types=1); namespace GoPhp\StmtJump; final class ContinueJump implements StmtJump { public function __construct( public readonly ?string $label, ) {} }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/BlankValue.php
src/GoValue/BlankValue.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Error\InternalError; use GoPhp\Error\RuntimeError; use GoPhp\Operator; /** * Represents runtime value of a blank identifier ("_" by default) * * @template-implements AddressableValue<never> */ final class BlankValue implements AddressableValue { ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/TypeValue.php
src/GoValue/TypeValue.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Argv; use GoPhp\Error\InternalError; use GoPhp\Error\RuntimeError; use GoPhp\GoType\GoType; use GoPhp\Operator; /** * Represents types in environment * as well as type "values", that are passed to some built-in functions as arguments * * ``` * e...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/Castable.php
src/GoValue/Castable.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\GoType\NamedType; interface Castable { public function cast(NamedType $to): self; }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/Sliceable.php
src/GoValue/Sliceable.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; /** * Value on which a slicing operation can be performed, e.g. x[1:2] */ interface Sliceable { /** * Get slice of the value from the given start index ($low) to the given end index ($high). */ public function slice(?int $low, ?int $high, ?i...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/Unwindable.php
src/GoValue/Unwindable.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; /** * @template T of object */ interface Unwindable { /** * @return T */ public function unwind(): object; }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/RecoverableInvokable.php
src/GoValue/RecoverableInvokable.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; /** * Invokable value that can be recovered from a panic. */ interface RecoverableInvokable extends Invokable { public function zeroReturnValue(): GoValue; }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/WrappedValue.php
src/GoValue/WrappedValue.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Error\InternalError; use GoPhp\GoType\WrappedType; use GoPhp\Operator; /** * Value with a wrapped type, i.e. a defined type. * * ``` * type myInt int * var x myInt = 42 * ^ x is a wrapped value *``` * * @template-implements AddressableVa...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/ConstInvokable.php
src/GoValue/ConstInvokable.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; /** * Value that is invokable in a constant context. */ interface ConstInvokable extends Invokable {}
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/Sequence.php
src/GoValue/Sequence.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; /** * Value that consists of a sequence (ordered or unordered) of other values. * On a sequence an indexing operation can be performed, e.g. x[1] * * @template K of GoValue * @template V of GoValue */ interface Sequence { /** * Length of the sequ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/Typeable.php
src/GoValue/Typeable.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\GoType\NamedType; interface Typeable { public function becomeTyped(NamedType $type): AddressableValue&Sealable; }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/AddressableTrait.php
src/GoValue/AddressableTrait.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Env\EnvMap; use function GoPhp\construct_qualified_name; /** * Default implementation of AddressableValue interface. */ trait AddressableTrait { private const string NULL_NAMESPACE = EnvMap::NAMESPACE_TOP; protected bool $addressable = fa...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/Sealable.php
src/GoValue/Sealable.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; /** * Value that can be assigned to a constant, upon which it becomes sealed. */ interface Sealable { public function seal(): void; public function isSealed(): bool; }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/Invokable.php
src/GoValue/Invokable.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Argv; /** * Value that supports invoking with a () operator. */ interface Invokable { public function __invoke(Argv $argv): GoValue; }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/GoValue.php
src/GoValue/GoValue.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\GoType\GoType; use GoPhp\Operator; /** * @template T of mixed (the underlying PHP value) */ interface GoValue { /** * Unary operation on a value. */ public function operate(Operator $op): self; /** * Binary operation on ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/BoolValue.php
src/GoValue/BoolValue.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Error\RuntimeError; use GoPhp\Operator; use GoPhp\GoType\NamedType; use function GoPhp\assert_values_compatible; /** * @template-implements Hashable<int> * @template-implements AddressableValue<bool> */ final class BoolValue implements Hashable, ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/Unpackable.php
src/GoValue/Unpackable.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; /** * Value that can be unpacked with "..." when passed as an argument. * * @template V of GoValue */ interface Unpackable { /** * Unpack the value into a list of values. * * @return iterable<V> */ public function unpack(): itera...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/Ref.php
src/GoValue/Ref.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; interface Ref { public function isNil(): bool; }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/VoidValue.php
src/GoValue/VoidValue.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Error\RuntimeError; use GoPhp\Operator; /** * Represents a value returned from a function with no return values. * * @template-implements GoValue<never> */ final class VoidValue implements GoValue { private static ?self $instance = null; ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/SealableTrait.php
src/GoValue/SealableTrait.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Error\RuntimeError; trait SealableTrait { protected bool $sealed = false; public function seal(): void { $this->sealed = true; } public function isSealed(): bool { return $this->sealed; } final prote...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/TypeableTrait.php
src/GoValue/TypeableTrait.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\GoType\NamedType; trait TypeableTrait { use SealableTrait; use AddressableTrait; final public function becomeTyped(NamedType $type): AddressableValue&Sealable { $value = $this->doBecomeTyped($type); if ($this->isSeal...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/SimpleNumber.php
src/GoValue/SimpleNumber.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Error\RuntimeError; use GoPhp\GoType\NamedType; use GoPhp\GoType\UntypedType; use GoPhp\GoValue\Complex\Complex128Value; use GoPhp\GoValue\Complex\Complex64Value; use GoPhp\GoValue\Complex\ComplexNumber; use GoPhp\GoValue\Float\Float32Value; use GoPhp...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/utils.php
src/GoValue/utils.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use function spl_object_id; use function dechex; /** * Alias for `null` in place of `nil` value in reference types. * * @internal */ const NIL = null; /** * Default address for values of reference types * * @internal */ const ZERO_ADDRESS = 0x0; /** ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/BuiltinFuncValue.php
src/GoValue/BuiltinFuncValue.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Argv; use GoPhp\Builtin\BuiltinFunc\BuiltinFunc; use GoPhp\Error\RuntimeError; use GoPhp\GoType\BuiltinFuncType; use GoPhp\Operator; /** * @template-implements GoValue<never> */ final class BuiltinFuncValue implements ConstInvokable, GoValue { ...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/UntypedNilValue.php
src/GoValue/UntypedNilValue.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Error\InternalError; use GoPhp\Error\RuntimeError; use GoPhp\GoType\UntypedNilType; use GoPhp\Operator; /** * @template-implements AddressableValue<never> */ final class UntypedNilValue implements AddressableValue { use AddressableTrait; p...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/AddressableValue.php
src/GoValue/AddressableValue.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; /** * Value that is stored and can be addressed either by name or by reference. * * @template T * @template-extends GoValue<T> */ interface AddressableValue extends GoValue { /** * Constant name of the value. */ public const string NAME =...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/PointerValue.php
src/GoValue/PointerValue.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; use GoPhp\Error\RuntimeError; use GoPhp\Error\PanicError; use GoPhp\GoType\PointerType; use GoPhp\Operator; use function GoPhp\assert_values_compatible; /** * @psalm-type Address = string * @template-implements AddressableValue<Address> */ final class Poin...
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false
tuqqu/go-php
https://github.com/tuqqu/go-php/blob/5e82555ba66a555576dd1dbb587b19f8bbd9e797/src/GoValue/Hashable.php
src/GoValue/Hashable.php
<?php declare(strict_types=1); namespace GoPhp\GoValue; /** * @psalm-type Hash = string|int * @template H = Hash */ interface Hashable { /** * @return H */ public function hash(): string|int; }
php
MIT
5e82555ba66a555576dd1dbb587b19f8bbd9e797
2026-01-05T03:09:05.335673Z
false