3v4l.org

run code in 300+ PHP versions simultaneously
<?php Var_dump(json_decode('{ "pollenbelastungen": [ { "@tag": "0", "pollen": [ { "@name": "Ambrosia", "@belastung": "0" }, { "@name": "Ampfer", "@belastung": "0" }, { "@name": "Beifuß", "@belastung": "0" }, { "@name": "Birke", "@belastung": "0" }, { "@name": "Buche", "@belastung": "0" }, { "@name": "Eiche", "@belastung": "0" }, { "@name": "Erle", "@belastung": "0" }, { "@name": "Esche", "@belastung": "0" }, { "@name": "Gräser", "@belastung": "0" }, { "@name": "Hasel", "@belastung": "1" }, { "@name": "Pappel", "@belastung": "1" }, { "@name": "Roggen", "@belastung": "0" }, { "@name": "Ulme", "@belastung": "0" }, { "@name": "Wegerich", "@belastung": "0" }, { "@name": "Weide", "@belastung": "0" } ] } ] }', true)['pollenbelastungen'][0]["pollen"]);
Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.33, 8.2.0 - 8.2.29, 8.3.0 - 8.3.28, 8.4.1 - 8.4.14, 8.5.0
array(15) { [0]=> array(2) { ["@name"]=> string(8) "Ambrosia" ["@belastung"]=> string(1) "0" } [1]=> array(2) { ["@name"]=> string(6) "Ampfer" ["@belastung"]=> string(1) "0" } [2]=> array(2) { ["@name"]=> string(7) "Beifuß" ["@belastung"]=> string(1) "0" } [3]=> array(2) { ["@name"]=> string(5) "Birke" ["@belastung"]=> string(1) "0" } [4]=> array(2) { ["@name"]=> string(5) "Buche" ["@belastung"]=> string(1) "0" } [5]=> array(2) { ["@name"]=> string(5) "Eiche" ["@belastung"]=> string(1) "0" } [6]=> array(2) { ["@name"]=> string(4) "Erle" ["@belastung"]=> string(1) "0" } [7]=> array(2) { ["@name"]=> string(5) "Esche" ["@belastung"]=> string(1) "0" } [8]=> array(2) { ["@name"]=> string(7) "Gräser" ["@belastung"]=> string(1) "0" } [9]=> array(2) { ["@name"]=> string(5) "Hasel" ["@belastung"]=> string(1) "1" } [10]=> array(2) { ["@name"]=> string(6) "Pappel" ["@belastung"]=> string(1) "1" } [11]=> array(2) { ["@name"]=> string(6) "Roggen" ["@belastung"]=> string(1) "0" } [12]=> array(2) { ["@name"]=> string(4) "Ulme" ["@belastung"]=> string(1) "0" } [13]=> array(2) { ["@name"]=> string(8) "Wegerich" ["@belastung"]=> string(1) "0" } [14]=> array(2) { ["@name"]=> string(5) "Weide" ["@belastung"]=> string(1) "0" } }
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15) /bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15) /bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15) /bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.

preferences:
127.61 ms | 409 KiB | 5 Q