Skip to content

Windows CLI process never ends #475

Description

@reeperbahnause

Hi,

i just testet the extension unsing this version:
https://phpdev.toolsforresearch.com/php-7.4.28-Win32-vc15-x64.zip

Installation worked just fine and the first tests have been correct but the CLI process never finishes.

Here is my example:

<?php

$v8 = new V8Js();
$v8->sayHello = function(string $name = 'World') {
    echo "Hello ".$name." Greetings from PHP" . PHP_EOL;
};
try {
    $v8->executeString("PHP.sayHello('again');", 'basic.js');
} catch (\Exception $e) {
    var_dump($e);
}

The output is:

Hello again Greetings from PHP

but as mentioned the process does not end.

Do I miss something?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions