3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $Trucking_CPA="25.00"; $Trucking_price="\$Trucking_CPA"; $Trucking_magic="\\\$Trucking_CPA"; Var_dump($Trucking_price, $Trucking_magic, ${substr($Trucking_magic, 2)});
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
string(13) "$Trucking_CPA" string(14) "\$Trucking_CPA" string(5) "25.00"
Output for hhvm-3.10.0

Process exited with code 153.