3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = ['shit', 0, 'acces', '%']; echo min($a); // Cute $a = ['shit', .8 , 'acces', '.9']; echo min($a); // 0.8 // Multi-byte $a = ['通','用','规','范','汉','字','表']; echo min($a); // Multi-byte $a = ['안','녕','하','세','요']; echo min($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.90.0120.00516.63
8.5.80.0080.00016.51
8.5.70.0110.00718.33
8.5.60.0100.00916.47
8.5.50.0110.00618.23
8.4.240.0120.01019.40
8.4.230.0070.00219.37
8.4.220.0140.01021.37
8.4.210.0160.00619.48
8.4.90.0090.00719.53
8.3.330.0140.00918.25
8.3.320.0110.00818.39
8.3.310.0120.00818.34
8.3.180.0050.00318.45
8.3.50.0100.00818.50
8.2.320.0100.01217.99
8.2.310.0110.00918.12

preferences:
45.51 ms | 545 KiB | 5 Q