3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=10; echo gettype($a).<p>; settype($a,'boolean'); echo gettype($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)
5.4.140.0030.03716.55
5.4.130.0070.03016.31
5.4.120.0030.03316.46
5.4.110.0030.04016.40
5.4.100.0000.03716.41
5.4.90.0000.03716.45
5.4.80.0070.03716.45
5.4.70.0070.03716.41
5.4.60.0030.03316.43
5.4.50.0030.03316.40
5.4.40.0000.04016.27
5.4.30.0070.03016.36
5.4.20.0070.03016.32
5.4.10.0000.03716.27
5.4.00.0030.04015.88
5.3.240.0000.04014.54
5.3.230.0070.03314.56
5.3.220.0030.03714.58
5.3.210.0000.04014.52
5.3.200.0030.03714.65
5.3.190.0030.03714.52
5.3.180.0070.03314.45
5.3.170.0000.03714.54
5.3.160.0070.03314.53
5.3.150.0030.03714.65
5.3.140.0000.03714.43
5.3.130.0000.04014.43
5.3.120.0100.03014.48
5.3.110.0030.03714.50
5.3.100.0030.03714.06
5.3.90.0230.03714.04
5.3.80.0030.04314.13
5.3.70.0100.04013.80
5.3.60.0070.06313.96
5.3.50.0000.06013.87
5.3.40.0100.04313.87
5.3.30.0030.05713.88
5.3.20.0170.05013.65
5.3.10.0100.03713.48
5.3.00.0100.04013.63

preferences:
141.76 ms | 935 KiB | 8 Q