3v4l.org

run code in 500+ PHP versions simultaneously
<?php $c = new StreamBucket(); $c->__construct("now");
Output for 8.4.1 - 8.4.26, 8.5.0 - 8.5.11
Fatal error: Uncaught Error: Call to undefined method StreamBucket::__construct() in /in/SIMVn:4 Stack trace: #0 {main} thrown in /in/SIMVn on line 4
Output for 8.1.32 - 8.1.34, 8.2.0 - 8.2.34, 8.3.0 - 8.3.35
Fatal error: Uncaught Error: Class "StreamBucket" not found in /in/SIMVn:3 Stack trace: #0 {main} thrown in /in/SIMVn on line 3

preferences:
31.31 ms | 1140 KiB | 9 Q