3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = 'huobi'; $huobi = new \ccxt\$id (); $markets = $huobi.load_markets (); var_dump ($huobi->id, $markets);
Output for 7.1.0 - 7.1.13, 7.2.0 - 7.2.1
Parse error: syntax error, unexpected '$id' (T_VARIABLE), expecting identifier (T_STRING) in /in/EaAQk on line 4
Process exited with code 255.

preferences:
161.74 ms | 1395 KiB | 23 Q