/ext-fiber/ |
H A D | vagrant-php.sh | 10 cd /usr/local/php 13 sudo mkdir php-src 14 sudo curl -LSs https://github.com/php/php-src/archive/php-$PHP_VERSION.tar.gz | sudo tar -xz -C "ph… 16 pushd php-src 32 sudo touch /usr/local/php/cli/php.ini 33 sudo chmod 466 /usr/local/php/cli/php.ini 35 sudo ln -s /usr/local/php/cli/bin/php /usr/local/bin/php 37 sudo ln -s /usr/local/php/cli/bin/php-config /usr/local/bin/php-config 46 sudo echo "extension=\"fiber.so\"" >> /usr/local/php/cli/php.ini 48 php -v [all …]
|
H A D | Dockerfile | 1 FROM php:8-cli 3 COPY ./ /usr/src/php/ext/fiber 5 RUN cd /usr/src/php/ext/fiber \ 6 && docker-php-source extract \ 7 && docker-php-ext-install fiber \ 9 && docker-php-source delete
|
/ext-fiber/tests/ |
H A D | backtrace-deep-nesting.phpt | 6 <?php 40 #0 %sbacktrace-deep-nesting.php(%d): throw_exception() 42 #2 %sbacktrace-deep-nesting.php(%d): suspend_fiber(10) 43 #3 %sbacktrace-deep-nesting.php(%d): suspend_fiber(9) 44 #4 %sbacktrace-deep-nesting.php(%d): suspend_fiber(8) 45 #5 %sbacktrace-deep-nesting.php(%d): suspend_fiber(7) 46 #6 %sbacktrace-deep-nesting.php(%d): suspend_fiber(6) 47 #7 %sbacktrace-deep-nesting.php(%d): suspend_fiber(5) 48 #8 %sbacktrace-deep-nesting.php(%d): suspend_fiber(4) 49 #9 %sbacktrace-deep-nesting.php(%d): suspend_fiber(3) [all …]
|
H A D | backtrace-nested.phpt | 6 <?php 24 Fatal error: Uncaught Exception in %sbacktrace-nested.php:%d 26 #0 %sbacktrace-nested.php(%d): suspend_fiber() 28 #2 %sbacktrace-nested.php(%d): Fiber->resume() 30 thrown in %sbacktrace-nested.php on line %d
|
H A D | suspend-outside-fiber.phpt | 6 <?php 12 Fatal error: Uncaught FiberError: Cannot suspend outside of a fiber in %ssuspend-outside-fiber.php:… 14 #0 %ssuspend-outside-fiber.php(%d): Fiber::suspend(1) 16 thrown in %ssuspend-outside-fiber.php on line %d
|
H A D | resume-running-fiber.phpt | 6 <?php 17 …: Uncaught FiberError: Cannot resume a fiber that is not suspended in %sresume-running-fiber.php:%d 19 #0 %sresume-running-fiber.php(%d): Fiber->resume() 21 #2 %sresume-running-fiber.php(%d): Fiber->start() 23 thrown in %sresume-running-fiber.php on line %d
|
H A D | suspend-in-force-close-fiber.phpt | 6 <?php 22 Fatal error: Uncaught FiberExit: Fiber destroyed in %ssuspend-in-force-close-fiber.php:%d 24 #0 %ssuspend-in-force-close-fiber.php(%d): Fiber::suspend() 28 Next FiberError: Cannot suspend in a force-closed fiber in %ssuspend-in-force-close-fiber.php:%d 30 #0 %ssuspend-in-force-close-fiber.php(%d): Fiber::suspend() 33 thrown in %ssuspend-in-force-close-fiber.php on line %d
|
H A D | resume-terminated-fiber.phpt | 6 <?php 16 …ncaught FiberError: Cannot resume a fiber that is not suspended in %sresume-terminated-fiber.php:%d 18 #0 %sresume-terminated-fiber.php(%d): Fiber->resume() 20 thrown in %sresume-terminated-fiber.php on line %d
|
H A D | throw-in-multiple-destroyed-fibers-after-shutdown.phpt | 6 <?php 40 …: Uncaught FiberExit: Fiber destroyed in %sthrow-in-multiple-destroyed-fibers-after-shutdown.php:%d 42 #0 %sthrow-in-multiple-destroyed-fibers-after-shutdown.php(%d): Fiber::suspend() 46 Next FiberExit: Fiber destroyed in %sthrow-in-multiple-destroyed-fibers-after-shutdown.php:%d 48 #0 %sthrow-in-multiple-destroyed-fibers-after-shutdown.php(%d): Fiber::suspend() 52 Next Exception: test1 in %sthrow-in-multiple-destroyed-fibers-after-shutdown.php:%d 57 Next FiberExit: Fiber destroyed in %sthrow-in-multiple-destroyed-fibers-after-shutdown.php:%d 59 #0 %sthrow-in-multiple-destroyed-fibers-after-shutdown.php(%d): Fiber::suspend() 63 Next Exception: test2 in %sthrow-in-multiple-destroyed-fibers-after-shutdown.php:%d 67 thrown in %sthrow-in-multiple-destroyed-fibers-after-shutdown.php on line %d
|
H A D | double-start.phpt | 6 <?php 18 …r: Uncaught FiberError: Cannot start a fiber that has already been started in %sdouble-start.php:%d 20 #0 %sdouble-start.php(%d): Fiber->start() 22 thrown in %sdouble-start.php on line %d
|
H A D | resume-non-running-fiber.phpt | 6 <?php 14 …caught FiberError: Cannot resume a fiber that is not suspended in %sresume-non-running-fiber.php:%d 16 #0 %sresume-non-running-fiber.php(%d): Fiber->resume() 18 thrown in %sresume-non-running-fiber.php on line %d
|
H A D | failing-nested-fiber.phpt | 6 <?php 25 Fatal error: Uncaught Exception: test in %sfailing-nested-fiber.php:6 28 #1 %sfailing-nested-fiber.php(%d): Fiber->resume(3) 30 #3 %sfailing-nested-fiber.php(%d): Fiber->start() 32 thrown in %sfailing-nested-fiber.php on line %d
|
H A D | failing-fiber.phpt | 6 <?php 22 Fatal error: Uncaught Exception: test in %sfailing-fiber.php:%d 25 #1 %sfailing-fiber.php(%d): Fiber->resume('test') 27 thrown in %sfailing-fiber.php on line %d
|
H A D | suspend-in-force-close-fiber-after-shutdown.phpt | 6 <?php 24 … error: Uncaught FiberExit: Fiber destroyed in %ssuspend-in-force-close-fiber-after-shutdown.php:%d 26 #0 %ssuspend-in-force-close-fiber-after-shutdown.php(%d): Fiber::suspend() 30 …ror: Cannot suspend in a force-closed fiber in %ssuspend-in-force-close-fiber-after-shutdown.php:%d 32 #0 %ssuspend-in-force-close-fiber-after-shutdown.php(%d): Fiber::suspend() 35 thrown in %ssuspend-in-force-close-fiber-after-shutdown.php on line %d
|
H A D | debug-backtrace.phpt | 6 <?php 21 #0 inner_function() called at [%sdebug-backtrace.php:9] 23 #2 Fiber->start() called at [%sdebug-backtrace.php:12]
|
H A D | silence-operator-outside-fiber.phpt | 6 <?php 24 Warning: Warning A in %ssilence-operator-outside-fiber.php on line %d 26 Warning: Warning B in %ssilence-operator-outside-fiber.php on line %d 28 Warning: Warning C in %ssilence-operator-outside-fiber.php on line %d 30 Warning: Warning D in %ssilence-operator-outside-fiber.php on line %d
|
H A D | get-return-from-unstarted-fiber.phpt | 6 <?php 14 … get fiber return value: The fiber has not been started in %sget-return-from-unstarted-fiber.php:%d 16 #0 %sget-return-from-unstarted-fiber.php(%d): Fiber->getReturn() 18 thrown in %sget-return-from-unstarted-fiber.php on line %d
|
H A D | throw-into-non-running-fiber.phpt | 6 <?php 14 …ht FiberError: Cannot resume a fiber that is not suspended in %sthrow-into-non-running-fiber.php:%d 16 #0 %sthrow-into-non-running-fiber.php(%d): Fiber->throw(Object(Exception)) 18 thrown in %sthrow-into-non-running-fiber.php on line %d
|
H A D | throw-from-destruct-with-fiber.phpt | 6 <?php 20 Fatal error: Uncaught Exception in %sthrow-from-destruct-with-fiber.php:%d 22 #0 %sthrow-from-destruct-with-fiber.php(%d): class@anonymous->__destruct() 24 thrown in %sthrow-from-destruct-with-fiber.php on line %d
|
H A D | backtrace-object.phpt | 6 <?php 25 Fatal error: Uncaught Exception: test in %sbacktrace-object.php:%d 28 #1 %sbacktrace-object.php(%d): Fiber->resume() 30 thrown in %sbacktrace-object.php on line %d
|
H A D | get-return-in-unfinished-fiber.phpt | 6 <?php 18 …annot get fiber return value: The fiber has not returned in %sget-return-in-unfinished-fiber.php:%d 20 #0 %sget-return-in-unfinished-fiber.php(%d): Fiber->getReturn() 22 thrown in %sget-return-in-unfinished-fiber.php on line %d
|
H A D | get-return-after-throwing.phpt | 6 <?php 22 …: Cannot get fiber return value: The fiber threw an exception in %sget-return-after-throwing.php:%d 24 #0 %sget-return-after-throwing.php(%d): Fiber->getReturn() 26 thrown in %sget-return-after-throwing.php on line %d
|
H A D | fiber-throw-in-destruct.phpt | 6 <?php 25 Fatal error: Uncaught Exception: test in %sfiber-throw-in-destruct.php:%d 28 #1 %sfiber-throw-in-destruct.php(%d): Fiber->resume() 31 thrown in %sfiber-throw-in-destruct.php on line %d
|
/ext-fiber/.appveyor/ |
H A D | test.ps1 | 16 $php = Get-Command 'php' | Select-Object -ExpandProperty 'Definition' variable 17 $dname = (Get-Item $php).Directory.FullName 26 $env:TEST_PHP_EXECUTABLE = $php 27 & $php run-tests.php -q --show-diff tests variable
|
/ext-fiber/.github/workflows/ |
H A D | ci.yml | 13 php-version: '8.0' 17 php-version: '8.0' 20 name: PHP ${{ matrix.php-version }} ${{ matrix.job-description }} 34 uses: shivammathur/setup-php@v2 36 php-version: ${{ matrix.php-version }}
|