3v4l.org

run code in 500+ PHP versions simultaneously
<?php $tracker = array('1','2','3'); Foreach($tracker as $track){ $hashx = array( $hash ); $info = $scraper->scrape( $hashx, $track ); foreach ($info as $key => $value) { $openseed[] = $value['seeders']; } } //Now $openseed is an array with three values originating from 1,2,3
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.34, 8.2.0 - 8.2.30, 8.3.0 - 8.3.30, 8.4.1 - 8.4.18, 8.5.0 - 8.5.3
Warning: Undefined variable $hash in /in/tSjSk on line 5 Warning: Undefined variable $scraper in /in/tSjSk on line 6 Fatal error: Uncaught Error: Call to a member function scrape() on null in /in/tSjSk:6 Stack trace: #0 {main} thrown in /in/tSjSk on line 6
Process exited with code 255.
Output for 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.31, 7.4.0 - 7.4.33
Notice: Undefined variable: hash in /in/tSjSk on line 5 Notice: Undefined variable: scraper in /in/tSjSk on line 6 Fatal error: Uncaught Error: Call to a member function scrape() on null in /in/tSjSk:6 Stack trace: #0 {main} thrown in /in/tSjSk on line 6
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Fatal error: Uncaught Error: Call to a member function scrape() on null in /in/tSjSk:6 Stack trace: #0 {main} thrown in /in/tSjSk on line 6
Process exited with code 255.

preferences:
98.72 ms | 1481 KiB | 4 Q