3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "I haven't felt much of anything since my guinea pig died. I didn't ask for a completely reasonable excuse! I asked you to get busy! Daylight and everything. You guys realize you live in a sewer, right? It's a T. It goes "tuh". Yeah, lots of people did. You're going back for the Countess, aren't you? Guess again. THE BIG BRAIN AM WINNING AGAIN! I AM THE GREETEST! NOW I AM LEAVING EARTH, FOR NO RAISEN! Leela, Bender, we're going grave robbing. Humans dating robots is sick. You people wonder why I'm still single? It's 'cause all the fine robot sisters are dating humans!"; $substring = iconv_substr($string, 0, $limit, $charset); iconv_substr($substring, 0, iconv_strrpos($substring, ' ', $charset), $charset) . '&hellip;

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)
7.1.70.0070.01017.09
7.1.60.0220.01135.02
7.1.50.0170.01734.40
7.1.40.0350.00834.45
7.1.30.0200.01734.40
7.1.20.0220.01134.38
7.1.10.0120.00616.57
7.1.00.0070.01016.35
7.0.200.0960.00716.54
7.0.190.0030.01316.46
7.0.180.0090.01216.00
7.0.170.0110.00716.13
7.0.160.0060.01316.03
7.0.150.0050.01116.15
7.0.140.0100.01016.04
7.0.130.0000.01616.28
7.0.120.0040.01216.53
7.0.110.0070.01216.25
7.0.100.0030.01516.33
7.0.90.0070.01016.16
7.0.80.0080.00816.27
7.0.70.0030.01416.04
7.0.60.0030.01316.00
7.0.50.0100.00716.38
7.0.40.0000.01716.45
7.0.30.1030.01014.54
7.0.20.0080.00816.53
7.0.10.0000.01616.44
7.0.00.0130.00516.21

preferences:
139.47 ms | 1386 KiB | 7 Q