Locutus
Blog Authors
C Go Python Ruby PHP Perl Lua R Julia Elixir Clojure AWK Tcl PowerShell Rust Swift Kotlin Haskell
C Go Python Ruby PHP Perl Lua R Julia Elixir Clojure AWK Tcl PowerShell Rust Swift Kotlin Haskell

PHP's filesystem extension in TypeScript

  • basename
  • dirname
  • file_exists
  • file_get_contents
  • pathinfo
  • realpath

« More PHP functions

Locutus

All your standard libraries will be assimilated into our JavaScript TypeScript collective. Resistance is futile.


Follow @locutus_io Star
18 languages marked
656 functions assimilated

on the githubs

  • Loading...

all functions

  • C (20)
    • ctype (8)
    • math (2)
    • stdio (1)
    • stdlib (4)
    • string (5)
  • Go (79)
    • net (4)
    • path (7)
    • sort (2)
    • strconv (10)
    • strings (29)
    • subtle (4)
    • time (15)
    • url (8)
  • Python (33)
    • math (20)
    • re (3)
    • string (10)
  • Ruby (39)
    • Array (11)
    • Math (15)
    • String (13)
  • PHP (321)
    • array (73)
    • bc (7)
    • ctype (11)
    • datetime (15)
    • exec (1)
    • filesystem (6)
    • funchand (5)
    • i18n (2)
    • info (6)
    • json (3)
    • math (46)
    • misc (2)
    • net-gopher (1)
    • network (6)
    • pcre (4)
    • strings (91)
    • url (8)
    • var (30)
    • xdiff (2)
    • xml (2)
  • Perl (22)
    • POSIX (2)
    • core (20)
  • Lua (14)
    • math (8)
    • string (6)
  • R (12)
    • base (12)
  • Julia (11)
    • Base (11)
  • Elixir (11)
    • Enum (4)
    • Float (2)
    • Kernel (1)
    • String (4)
  • Clojure (14)
    • Math (3)
    • core (6)
    • string (5)
  • AWK (10)
    • builtin (10)
  • Tcl (15)
    • string (15)
  • PowerShell (16)
    • string (16)
  • Rust (13)
    • str (13)
  • Swift (8)
    • String (8)
  • Kotlin (8)
    • collections (7)
    • text (1)
  • Haskell (10)
    • list (10)

recent posts

  • Locutus 3.0: Fully Assimilated into TypeScript

    2026-03-02

  • Easter Update

    2024-04-05

  • php.js is Dead - Long Live Locutus

    2016-05-02

© 2007-2026 Kevin van Zonneveld and authors.
Artwork by Troy Dodd.