run code in 200+ PHP versions simultaneously
<?php $a = 1; $b = 0; // проверьте $b = null; $b = "0"; $b = 0.2; .. try { if((float) $b === 0.0) throw new Exception('деление на ноль'); echo ($a / $b); } catch(Throwable $e) { echo $e->getMessage(); }

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch php-master
деление на ноль
Output for branch php-master+opcache
деление на ноль
Output for Typed properties v2
деление на ноль
Output for Array change keys
деление на ноль
Output for Lexical anon
Fatal error: Uncaught exception 'Exception' with message 'деление на ноль' in /in/ORXUi:8 Stack trace: #0 {main} thrown in /in/ORXUi on line 8
Process exited with code 255.

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page