3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'b'; $s--; $r = 'a'; $r++;

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.120.0080.00217.82
8.4.110.0110.00717.89
8.4.90.0120.00817.53
8.3.250.0120.00816.65
8.3.240.0110.00716.59
8.3.180.0110.00816.65
8.3.50.0080.01116.56

preferences:
27.01 ms | 403 KiB | 5 Q