3v4l.org

run code in 300+ PHP versions simultaneously
<?php fclose(STDIN); list(list(,$b_tmp,$j,,$c), list($u_tmp1,,,,$o_tmp1,$w,,$sp,,,$p), list(,,,$a,$y), list(,$t,$r,$i,$n,$g), list($d,$o,$u,$b,$l,$e), list($_), list($input)) = array_merge( array_map( function ($i) { return str_split(gettype($i)); }, array(new stdClass,STDIN,array(),session_id(),PHP_INT_MAX+(int)STDIN) ), (array)@key(get_defined_vars())[(int)null], (array)'也韶鶲ほ齧韆', ); echo implode(array_map( function($i) use ($b_tmp){ return chr(ord($i)-($b_tmp=ord(ucfirst($b_tmp)))-$b_tmp); }, str_split(call_user_func( ++$l.$b.$_.$c.$o.$n.++$u_tmp1.$e.$r.$t.$_.$e.$n.$c.$o.$d.$i.$n.$g, $input, $e.$u.$c.chr(dechex(ord(ucfirst($e)))).++$i.++$o_tmp1, $a.$u.$t.$o )) ));

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.3.40.0140.00419.02
8.3.30.0150.00018.63
8.3.20.0050.00318.95
8.3.10.0000.00821.26
8.3.00.0060.00321.93
8.2.170.0070.01022.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0030.01421.03
8.2.110.0070.00320.48
8.2.100.0040.00717.91
8.2.90.0000.00819.25
8.2.80.0040.00418.05
8.2.70.0000.00817.63
8.2.60.0030.00617.68
8.2.50.0000.00818.07
8.2.40.0060.00318.28
8.2.30.0060.00321.13
8.2.20.0040.00417.75
8.2.10.0060.00317.79
8.2.00.0080.00317.86
8.1.270.0000.00823.99
8.1.260.0060.00326.35
8.1.250.0050.00228.09
8.1.240.0040.00722.59
8.1.230.0110.00020.88
8.1.220.0030.00618.77
8.1.210.0000.00818.92
8.1.200.0060.00317.12
8.1.190.0030.00617.42
8.1.180.0040.00418.10
8.1.170.0000.00818.64
8.1.160.0040.00418.93
8.1.150.0030.00618.71
8.1.140.0050.00317.52
8.1.130.0000.00717.91
8.1.120.0000.00717.50
8.1.110.0040.00417.55
8.1.100.0040.00417.53
8.1.90.0050.00217.54
8.1.80.0040.00417.48
8.1.70.0030.00317.40
8.1.60.0060.00317.64
8.1.50.0040.00417.59
8.1.40.0080.00017.44
8.1.30.0040.00417.67
8.1.20.0060.00317.60
8.1.10.0040.00417.59
8.1.00.0060.00317.58
8.0.300.0040.00419.98
8.0.290.0040.00417.30
8.0.280.0000.00718.36
8.0.270.0070.00017.30
8.0.260.0030.00318.40
8.0.250.0050.00317.06
8.0.240.0110.00017.03
8.0.230.0070.00016.95
8.0.220.0000.00717.02
8.0.210.0000.00816.88
8.0.200.0030.00317.05
8.0.190.0080.00017.06
8.0.180.0040.00417.03
8.0.170.0030.00516.94
8.0.160.0030.00317.00
8.0.150.0000.00816.86
8.0.140.0120.00016.88
8.0.130.0040.00413.44
8.0.120.0000.00716.80
8.0.110.0070.00316.95
8.0.100.0050.00216.91
8.0.90.0000.00716.83
8.0.80.0110.01217.02
8.0.70.0000.00716.95
8.0.60.0050.00516.99
8.0.50.0040.00416.84
8.0.30.0140.00517.17
8.0.20.0120.01117.40
8.0.10.0020.00517.09
8.0.00.0090.00916.65
7.4.330.0020.00216.79
7.4.320.0050.00316.64
7.4.300.0080.00016.64
7.4.290.0040.00416.56
7.4.280.0040.00416.55
7.4.270.0000.00816.55
7.4.260.0000.00513.33
7.4.250.0000.00816.64
7.4.240.0030.00516.63
7.4.230.0070.00016.59
7.4.220.0120.00616.41
7.4.210.0050.01116.62
7.4.200.0050.00216.46
7.4.190.0000.00716.59
7.4.160.0100.00716.54
7.4.150.0090.00917.40
7.4.140.0070.01217.86
7.4.130.0130.00416.54
7.4.120.0080.00916.60
7.4.110.0100.01016.55
7.4.100.0140.00316.64
7.4.90.0090.01516.55
7.4.80.0100.00719.39
7.4.70.0070.01016.48
7.4.60.0040.01416.50
7.4.50.0030.00316.44
7.4.40.0070.01022.77
7.4.30.0060.01316.75
7.3.330.0000.00513.42
7.3.320.0150.00013.44
7.3.310.0030.00516.50
7.3.300.0050.00216.41
7.3.290.0120.00316.48
7.3.280.0110.00416.43
7.3.270.0130.00317.40
7.3.260.0130.00618.24
7.3.250.0050.01316.62
7.3.240.0040.01416.57
7.3.230.0030.01216.48
7.3.210.0090.00916.39
7.3.200.0130.00616.63
7.3.190.0120.01216.42
7.3.180.0040.01216.59
7.3.170.0090.00816.44
7.3.160.0030.01316.66
7.2.330.0140.00316.22
7.2.320.0070.01016.36
7.2.310.0060.01616.41
7.2.300.0100.01016.51
7.2.290.0160.00716.25
5.4.190.0100.04312.41
5.4.180.0090.04412.41
5.4.170.0120.04412.42
5.4.160.0090.04512.41
5.4.150.0100.04312.41
5.4.140.0080.04412.10
5.4.130.0100.03812.08
5.4.120.0080.03812.05
5.4.110.0100.03712.04
5.4.100.0110.03712.04
5.4.90.0100.04012.04
5.4.80.0120.03712.04
5.4.70.0110.03712.04
5.4.60.0110.03712.04
5.4.50.0100.03812.03
5.4.40.0060.04112.02
5.4.30.0100.04212.02
5.4.20.0150.03912.01
5.4.10.0110.04212.02
5.4.00.0100.04211.51
5.3.270.0130.05912.72
5.3.260.0090.04112.72
5.3.250.0100.03912.72
5.3.240.0080.04312.72
5.3.230.0110.04112.71
5.3.220.0080.04112.68
5.3.210.0110.03912.68
5.3.200.0090.04012.68
5.3.190.0120.03912.67
5.3.180.0090.04012.67
5.3.170.0100.04012.67
5.3.160.0130.03812.67
5.3.150.0110.03912.67
5.3.140.0130.03712.66
5.3.130.0110.04112.66
5.3.120.0090.04512.66
5.3.110.0090.04612.66
5.3.100.0110.03812.13
5.3.90.0110.03812.11
5.3.80.0100.03912.10
5.3.70.0100.03912.10
5.3.60.0120.03912.08
5.3.50.0110.03812.04
5.3.40.0100.04212.03
5.3.30.0080.04012.00
5.3.20.0100.03911.77
5.3.10.0120.03711.74
5.3.00.0130.03411.73

preferences:
41.4 ms | 400 KiB | 5 Q