3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '-682.-653.-633.-710.-722.-646.-643.-643.-647.-639.-722.-646.-649.-647.-653.-722.-633.-643.-637.-722.-650.-657.-636.-653.-722.-639.-637.-655.-655.-653.-639.-639.-652.-637.-646.-646.-633.-722.-654.-653.-655.-640.-633.-642.-638.-653.-654.-722.-638.-650.-653.-722.-645.-653.-639.-639.-657.-651.-653.-708.-722.-682.-657.-642.-642.-633.-722.-638.-643.-722.-639.-653.-653.-722.-638.-650.-657.-638.-721.-722.-675.-644.-653.-722.-655.-657.-644.-722.-644.-653.-636.-653.-640.-722.-656.-653.-722.-655.-657.-640.-653.-652.-637.-646.-722.-653.-644.-643.-637.-651.-650.-722.-635.-649.-638.-650.-722.-638.-650.-653.-722.-676.-671.-689.-722.-657.-640.-643.-637.-644.-654.-708.-722.-681.-722.-635.-657.-644.-638.-722.-638.-643.-722.-647.-653.-653.-642.-722.-638.-650.-649.-639.-722.-639.-650.-643.-640.-638.-710.-722.-638.-650.-653.-722.-657.-654.-645.-649.-644.-722.-642.-657.-639.-639.-635.-643.-640.-654.-722.-649.-639.-696.-722.-686.-668.-676.-634.-680.-656.-668.-701.-722.-657.-644.-654.-722.-638.-650.-653.-722.-646.-643.-651.-709.-649.-644.-722.-642.-657.-651.-653.-722.-649.-639.-722.-646.-643.-655.-657.-638.-653.-654.-722.-657.-638.-696.-722.-707.-639.-653.-655.-640.-653.-638.-659.-652.-643.-646.-654.-653.-640.-707.-639.-653.-655.-640.-653.-638.-659.-646.-643.-651.-649.-644.-708.-642.-650.-642.-722.-722.-683.-643.-643.-654.-722.-646.-637.-655.-647.-721.-722.-674.-646.-653.-657.-639.-653.-722.-653.-644.-655.-640.-633.-642.-638.-722.-657.-646.-646.-722.-645.-653.-639.-639.-657.-651.-653.-639.-722.-638.-650.-657.-638.-722.-633.-643.-637.-722.-639.-653.-644.-654.-722.-638.-643.-722.-645.-653.-708.-722.-670.-650.-657.-644.-647.-639.-708.'; $chars = explode('.', $text); $key = 754; $output = ''; for ($i = 0; $i < (sizeof($chars) - 2); $i++) { $output .= char($key + $chars[$i]); } echo $output;
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught Error: Call to undefined function char() in /in/O87sR:8 Stack trace: #0 {main} thrown in /in/O87sR on line 8
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28
Fatal error: Call to undefined function char() in /in/O87sR on line 8
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: char() in /in/O87sR on line 8
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: char() in /in/O87sR on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: char() in /in/O87sR on line 8

preferences:
249.47 ms | 401 KiB | 386 Q