Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

go-php

> 编程语言
Open source

Toy Golang interpreter written in PHP

184 stars0 likes1 views
WebsiteGitHub

About

Toy Golang interpreter written in PHP

Go-PHP

Golang interpreter written in PHP.

Example

php
use GoPhp\Interpreter;

$interp = Interpreter::create(run();

See examples for more. To run examples:

cd ./examples/{name}
php main.php

WIP

This is a toy project, not intended for production use.

To see what is already implemented, refer to tests.

Development

install dependencies:

composer install

run tests:

make test

run make help for more commands.

Differences from the Go compiler

  • No support for real goroutines, go statements run sequentially

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPembedded-languagegogolanggolang-php

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言