3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('aaaaaaaaaa'); echo strlen($a); ?>

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.5.20.0160.00420.27
8.5.10.0080.00916.69
8.5.00.0100.00918.32
8.4.170.0130.01523.59
8.4.160.0070.01423.75
8.4.150.0110.01219.62
8.4.90.0140.01217.97
8.3.300.0100.00920.80
8.3.290.0110.01018.37
8.3.280.0120.00920.10
8.3.180.0130.00618.42
8.3.50.0100.00918.33
8.2.300.0140.00618.18
8.1.340.0090.01021.85
5.6.40.0250.00815.30

preferences:
48.6 ms | 403 KiB | 5 Q