Invalid context switches no longer cause PHP error