3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $b = '/Intel/Intel-C-plus--plus--Compiler-Professional-Edition-for-QNX-Neutrino-RTOS/'; echo split($b, '/'); $a = str_replace('-', ' ', trim($value[0], '/'));
based on 6A9po
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function split() in /in/88jPZ:3 Stack trace: #0 {main} thrown in /in/88jPZ on line 3
Process exited with code 255.
Output for 5.4.10 - 5.6.28
Deprecated: Function split() is deprecated in /in/88jPZ on line 3 Notice: Array to string conversion in /in/88jPZ on line 3 Array Notice: Undefined variable: value in /in/88jPZ on line 4
Output for 5.3.20 - 5.3.29
Deprecated: Function split() is deprecated in /in/88jPZ on line 3 Array Notice: Undefined variable: value in /in/88jPZ on line 4