GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sameersemna/phpjs: php.js implements PHP functions in JavaScript

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

2,150 Commits
2,150 Commits

Folders and files

NameName
Last commit message
Last commit date
_octopress
_octopress
 
 
bin
bin
 
 
build
build
 
 
experimental
experimental
 
 
functions
functions
 
 
lib
lib
 
 
test
test
 
 
tools
tools
 
 
workbench
workbench
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE.txt
LICENSE.txt
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
Site.md
Site.md
 
 
index.js
index.js
 
 
known_failures.txt
known_failures.txt
 
 
package.json
package.json
 
 

Repository files navigation

php.js

Build Status NPM version Dependency Status Development Dependency Status

php.js is a resource that offers community-built JavaScript alternatives to PHP functions.

More info at: http://phpjs.org/about

Npm

$ mkdir test && cd $_
$ npm install phpjs
$ $EDITOR try.js
var php = require('phpjs');

php.echo(php.sprintf('Hey, %s : )', 'you'));
php.echo(php.parse_url('mysql://kevin:[email protected]/databasename')['pass']);
php.echo(php.strtotime('2 januari 2012, 11:12:13 GMT'));
$ node try.js
Hey, you : )
abcd1234
1325502733

Testing

cli

make test
node bin/phpjs.js --action test --name sort
node bin/phpjs.js --action test --category array

Web

PORT=8080 node test/browser/server.js

Point your webbrowser to http://localhost:8080

Sponsor development

Gittip donate button Flattr donate button PayPal donate button BitCoin donate button

About

php.js implements PHP functions in JavaScript

phpjs.org

Resources

Readme
License
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.