3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = function($b = '1'){$a = '123';}; echo spl_object_hash($a); echo spl_object_hash($a);
Output for 7.2.6
000000004121234b0000000012a385df000000004121234b0000000012a385df
Output for 7.2.0
0000000047b817eb0000000038fc3fb10000000047b817eb0000000038fc3fb1
Output for 7.1.20
0000000068a0889a000000000e6d979f0000000068a0889a000000000e6d979f
Output for 7.1.10
00000000411bfbd6000000005ba4aeaf00000000411bfbd6000000005ba4aeaf
Output for 7.1.7
000000001c30e6610000000024932a41000000001c30e6610000000024932a41
Output for 7.1.6
0000000031c7ebf00000000070a00f580000000031c7ebf00000000070a00f58
Output for 7.1.5
0000000019df4db5000000006cc972440000000019df4db5000000006cc97244
Output for 7.1.0
000000003b01a362000000005d09bb37000000003b01a362000000005d09bb37
Output for 7.0.20
000000001db39bb5000000003723dc0d000000001db39bb5000000003723dc0d
Output for 7.0.14
000000001769d47c000000005bdd0405000000001769d47c000000005bdd0405
Output for 7.0.6
000000000c50dc4b000000004bc79f27000000000c50dc4b000000004bc79f27
Output for 7.0.5
0000000048b0ee2a000000003b45666e0000000048b0ee2a000000003b45666e
Output for 7.0.4
000000001dd31db5000000002d37c640000000001dd31db5000000002d37c640
Output for 7.0.3
0000000055fd0990000000006cc8300c0000000055fd0990000000006cc8300c
Output for 7.0.2
00000000678e8756000000004701e31100000000678e8756000000004701e311
Output for 7.0.1
000000006c2624aa0000000041a6d252000000006c2624aa0000000041a6d252
Output for 7.0.0
000000006886dd93000000004e51633b000000006886dd93000000004e51633b
Output for 5.6.28
000000001e487351000000003a50d3ab000000001e487351000000003a50d3ab
Output for 5.6.21
000000004e55a07e0000000026b321eb000000004e55a07e0000000026b321eb
Output for 5.6.20
000000002bb0c9bc0000000009307861000000002bb0c9bc0000000009307861
Output for 5.6.19
0000000076914fbd000000006b1a392a0000000076914fbd000000006b1a392a
Output for 5.6.18
000000002b53a761000000002f5daa0d000000002b53a761000000002f5daa0d
Output for 5.6.17
000000004aac77f5000000001c16eb00000000004aac77f5000000001c16eb00
Output for 5.6.16
0000000008b6950b000000004ba975da0000000008b6950b000000004ba975da
Output for 5.6.15
0000000035376aa6000000002e53204b0000000035376aa6000000002e53204b
Output for 5.6.14
0000000024a86137000000006a01aceb0000000024a86137000000006a01aceb
Output for 5.6.13
00000000117041390000000071b036fa00000000117041390000000071b036fa
Output for 5.6.12
000000000b2ac9e1000000006a9ece7d000000000b2ac9e1000000006a9ece7d
Output for 5.6.11
0000000079c70cd0000000005dbafa040000000079c70cd0000000005dbafa04
Output for 5.6.10
000000007c3ae9290000000009d900cf000000007c3ae9290000000009d900cf
Output for 5.6.9
0000000041bda704000000000b2c9bec0000000041bda704000000000b2c9bec
Output for 5.6.8
000000005f77acf4000000003c9ff9cc000000005f77acf4000000003c9ff9cc
Output for 5.5.35
000000000b9233f5000000006622df0e000000000b9233f5000000006622df0e
Output for 5.5.34
00000000472c6d7400000000046bc46a00000000472c6d7400000000046bc46a
Output for 5.5.33
000000004de444f6000000006dc93409000000004de444f6000000006dc93409
Output for 5.5.32
000000002328c59e0000000064f716f6000000002328c59e0000000064f716f6
Output for 5.5.31
000000001b8ce06b0000000029cf2b76000000001b8ce06b0000000029cf2b76
Output for 5.5.30
0000000069785d89000000006fdbb2ce0000000069785d89000000006fdbb2ce
Output for 5.5.29
0000000055b719e1000000001d23ee6a0000000055b719e1000000001d23ee6a
Output for 5.5.28
000000006ae0ab45000000003f7504d2000000006ae0ab45000000003f7504d2
Output for 5.5.27
000000007604de390000000027a3b066000000007604de390000000027a3b066
Output for 5.5.26
0000000079ebc306000000001f7a87960000000079ebc306000000001f7a8796
Output for 5.5.25
00000000283a3660000000006a5f476e00000000283a3660000000006a5f476e
Output for 5.5.24
000000007454b408000000006e150d00000000007454b408000000006e150d00
Output for 5.4.45
0000000010c508b7000000002702108e0000000010c508b7000000002702108e
Output for 5.4.44
0000000028b59061000000006eae4ae10000000028b59061000000006eae4ae1
Output for 5.4.43
000000002885ac570000000006fb0a02000000002885ac570000000006fb0a02
Output for 5.4.42
000000002ecba8b9000000001d4a0516000000002ecba8b9000000001d4a0516
Output for 5.4.41
000000004906f610000000007f8f5a45000000004906f610000000007f8f5a45
Output for 5.4.40
000000006658d4fe0000000043c666b8000000006658d4fe0000000043c666b8
Output for 5.4.39
000000003414c79800000000168c24ec000000003414c79800000000168c24ec
Output for 5.4.38
00000000626da4ba000000000063697500000000626da4ba0000000000636975
Output for 5.4.37
0000000076a6111e000000001d4fdc0b0000000076a6111e000000001d4fdc0b
Output for 5.4.36
000000007b0df2f0000000004e53ecc6000000007b0df2f0000000004e53ecc6
Output for 5.4.35
000000007c892b850000000074ac4d18000000007c892b850000000074ac4d18
Output for 5.4.34
00000000465ce9c100000000671b08f200000000465ce9c100000000671b08f2
Output for 5.4.32
0000000073516734000000003d7cf1870000000073516734000000003d7cf187
Output for 5.4.31
00000000231d056d00000000318ccaa600000000231d056d00000000318ccaa6
Output for 5.4.30
000000004a96b83b0000000019527ed5000000004a96b83b0000000019527ed5
Output for 5.4.29
0000000027340618000000004bdebdbc0000000027340618000000004bdebdbc
Output for 5.4.28
000000000adf3a57000000001dc024c2000000000adf3a57000000001dc024c2
Output for 5.4.27
00000000636734c0000000004f7c59d800000000636734c0000000004f7c59d8
Output for 5.4.26
0000000073b3a4d50000000014a15b970000000073b3a4d50000000014a15b97
Output for 5.4.25
000000005bba8da6000000004814c5cb000000005bba8da6000000004814c5cb
Output for 5.4.24
000000006b09d70a000000004bba1d2b000000006b09d70a000000004bba1d2b
Output for 5.4.23
00000000742c0f020000000015e4203400000000742c0f020000000015e42034
Output for 5.4.22
000000000b0f8e740000000052d54be0000000000b0f8e740000000052d54be0
Output for 5.4.21
000000006dc72134000000003ecf4fa4000000006dc72134000000003ecf4fa4
Output for 5.4.20
0000000016f8f91f000000005fc606ac0000000016f8f91f000000005fc606ac
Output for 5.4.19
000000005a16de870000000057ef6cb2000000005a16de870000000057ef6cb2
Output for 5.4.18
000000006ed4a5010000000037989939000000006ed4a5010000000037989939
Output for 5.4.17
0000000018eb57ad000000004e56f9ae0000000018eb57ad000000004e56f9ae
Output for 5.4.16
000000003e749f49000000001e360f7a000000003e749f49000000001e360f7a
Output for 5.4.15
0000000066404b060000000078c3a5b00000000066404b060000000078c3a5b0
Output for 5.4.14
0000000011e34119000000003bb77cd00000000011e34119000000003bb77cd0
Output for 5.4.13
0000000039121743000000004cb73ff80000000039121743000000004cb73ff8
Output for 5.4.12
0000000078d88db0000000007ddb70060000000078d88db0000000007ddb7006
Output for 5.4.11
000000001bf5cd600000000057e90c0c000000001bf5cd600000000057e90c0c
Output for 5.4.10
00000000063d5323000000004883c6cb00000000063d5323000000004883c6cb
Output for 5.4.9
00000000125b0eae00000000547f278800000000125b0eae00000000547f2788
Output for 5.4.8
000000000bb75bfc000000001c66e2b6000000000bb75bfc000000001c66e2b6
Output for 5.4.7
00000000296d0383000000005a61868b00000000296d0383000000005a61868b
Output for 5.4.6
00000000311afe50000000004db740f300000000311afe50000000004db740f3
Output for 5.4.5
000000002aa042a0000000003d4f02da000000002aa042a0000000003d4f02da
Output for 5.4.4
000000001395fc220000000067e8002a000000001395fc220000000067e8002a
Output for 5.4.3
000000004492f3ef000000006786995b000000004492f3ef000000006786995b
Output for 5.4.2
000000004205f311000000007ce3960c000000004205f311000000007ce3960c
Output for 5.4.1
000000001a936183000000006ed27809000000001a936183000000006ed27809
Output for 5.4.0
0000000040331d01000000002cd75f190000000040331d01000000002cd75f19
Output for 5.3.29
000000007458b885000000000e41e43d000000007458b885000000000e41e43d
Output for 5.3.28
000000001c596f6600000000719b16e3000000001c596f6600000000719b16e3
Output for 5.3.27
000000004368a773000000003bb2e632000000004368a773000000003bb2e632
Output for 5.3.26
000000001f1fe3a60000000045fba030000000001f1fe3a60000000045fba030
Output for 5.3.25
000000000649e968000000007d9f8352000000000649e968000000007d9f8352
Output for 5.3.24
000000005b9d39d70000000018dc1454000000005b9d39d70000000018dc1454
Output for 5.3.23
0000000006d6e8330000000062e6f7850000000006d6e8330000000062e6f785
Output for 5.3.22
0000000006d5665b000000005b4f7d500000000006d5665b000000005b4f7d50
Output for 5.3.21
0000000060a2cfbd000000004a3e6e100000000060a2cfbd000000004a3e6e10
Output for 5.3.20
000000005789155d000000005b915807000000005789155d000000005b915807
Output for 5.3.19
0000000039c1dc44000000001e61ff040000000039c1dc44000000001e61ff04
Output for 5.3.18
000000000af264420000000041e94253000000000af264420000000041e94253
Output for 5.3.17
000000000a03be4300000000322f6f8a000000000a03be4300000000322f6f8a
Output for 5.3.16
000000004d7406c90000000014658a0f000000004d7406c90000000014658a0f
Output for 5.3.15
000000003c2ab620000000007a3a711d000000003c2ab620000000007a3a711d
Output for 5.3.14
0000000024bb7449000000007d3897010000000024bb7449000000007d389701
Output for 5.3.13
000000006ceec8590000000071187d8c000000006ceec8590000000071187d8c
Output for 5.3.12
000000001a3c1d13000000003ef25128000000001a3c1d13000000003ef25128
Output for 5.3.11
000000006b4a814d0000000075e1504d000000006b4a814d0000000075e1504d
Output for 5.3.10
000000003f4efee7000000004996f613000000003f4efee7000000004996f613
Output for 5.3.9
000000002a33ac6f0000000026cb5947000000002a33ac6f0000000026cb5947
Output for 5.3.8
000000006f4f5ec60000000002fd4759000000006f4f5ec60000000002fd4759
Output for 5.3.7
0000000057e15ddc00000000098604540000000057e15ddc0000000009860454
Output for 5.3.6
00000000610b7f83000000006fbdc92f00000000610b7f83000000006fbdc92f
Output for 5.3.5
000000000359fbdb000000002bfcc57d000000000359fbdb000000002bfcc57d
Output for 5.3.4
0000000058e14fe1000000003624059a0000000058e14fe1000000003624059a
Output for 5.3.3
0000000017164658000000000d4ef8600000000017164658000000000d4ef860
Output for 5.3.2
00000000529f1ed60000000060fa656500000000529f1ed60000000060fa6565
Output for 5.3.1
000000002858c70100000000016e6d0b000000002858c70100000000016e6d0b
Output for 5.3.0
000000004a94c8290000000000a8e890000000004a94c8290000000000a8e890
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION in /in/QXaKa on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_FUNCTION in /in/QXaKa on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/QXaKa on line 3
Process exited with code 255.