One that just bit me migrating an old codebase....
$x=$obj->$classes[0]; parses as intended in 5.6--getting a class name from $classes[0]--but 7.4 tries to use just $classes and then errors out on the [0] literal. So....
$x=$obj->{$classes[0]}; curly braces save the day to make 7.4 happy.