3v4l.org

run code in 150+ 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.1.0
000000003b01a362000000005d09bb37000000003b01a362000000005d09bb37
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 hhvm-3.12.0
00000000000000005df99ce7c53d15b700000000000000005df99ce7c53d15b7
Output for hhvm-3.10.0

Process exited with code 153.
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
000000006886200d000000005c4feb64000000006886200d000000005c4feb64
Output for 5.4.24
0000000045d2bd23000000007d0975650000000045d2bd23000000007d097565
Output for 5.4.23
000000001696d48e00000000538ae408000000001696d48e00000000538ae408
Output for 5.4.22
0000000043b3c50d000000003131a30c0000000043b3c50d000000003131a30c
Output for 5.4.21
000000003dec195d0000000000d9f220000000003dec195d0000000000d9f220
Output for 5.4.20
00000000306f2d590000000004e6211d00000000306f2d590000000004e6211d
Output for 5.4.19
000000002c1c3d8500000000771e2c87000000002c1c3d8500000000771e2c87
Output for 5.4.18
000000004b8bba96000000002ca92cc5000000004b8bba96000000002ca92cc5
Output for 5.4.17
000000007f9f3b88000000005f2f6d84000000007f9f3b88000000005f2f6d84
Output for 5.4.16
00000000085bf7f40000000053208fe700000000085bf7f40000000053208fe7
Output for 5.4.15
000000005f38691300000000166c11d1000000005f38691300000000166c11d1
Output for 5.4.14
000000002d44e3f30000000012154d47000000002d44e3f30000000012154d47
Output for 5.4.13
000000005ed4ea83000000004329611d000000005ed4ea83000000004329611d
Output for 5.4.12
00000000419c73640000000036b4f8b500000000419c73640000000036b4f8b5
Output for 5.4.11
000000007db69b5f000000001289d62b000000007db69b5f000000001289d62b
Output for 5.4.10
00000000320e920a000000003b1bc90500000000320e920a000000003b1bc905
Output for 5.4.9
0000000017e1ae760000000047439ea80000000017e1ae760000000047439ea8
Output for 5.4.8
0000000016ea5198000000004346fbcb0000000016ea5198000000004346fbcb
Output for 5.4.7
000000003693f07800000000624fd208000000003693f07800000000624fd208
Output for 5.4.6
0000000035627267000000003aaa5da40000000035627267000000003aaa5da4
Output for 5.4.5
000000006034de3900000000159ba265000000006034de3900000000159ba265
Output for 5.4.4
00000000185863b900000000540e4be700000000185863b900000000540e4be7
Output for 5.4.3
0000000049d56bd200000000047a83a20000000049d56bd200000000047a83a2
Output for 5.4.2
00000000123c4a51000000006f0131bb00000000123c4a51000000006f0131bb
Output for 5.4.1
000000006376573f000000000f7bc272000000006376573f000000000f7bc272
Output for 5.4.0
0000000022151583000000005687682600000000221515830000000056876826
Output for 5.3.29
000000007458b885000000000e41e43d000000007458b885000000000e41e43d
Output for 5.3.28
000000000f7803cc0000000019bbb1e0000000000f7803cc0000000019bbb1e0
Output for 5.3.27
0000000071315f3d0000000024b3987c0000000071315f3d0000000024b3987c
Output for 5.3.26
000000007f723c610000000010e04cfe000000007f723c610000000010e04cfe
Output for 5.3.25
00000000764ff75b000000001759102000000000764ff75b0000000017591020
Output for 5.3.24
0000000019fd38b90000000016fcddbd0000000019fd38b90000000016fcddbd
Output for 5.3.23
0000000022308da6000000005a3f127c0000000022308da6000000005a3f127c
Output for 5.3.22
000000002836d237000000006dd62d33000000002836d237000000006dd62d33
Output for 5.3.21
000000007981ab32000000004e644275000000007981ab32000000004e644275
Output for 5.3.20
000000004862fd8b000000000ee526fc000000004862fd8b000000000ee526fc
Output for 5.3.19
000000000110cd5c000000004cf7730e000000000110cd5c000000004cf7730e
Output for 5.3.18
0000000067f4e1750000000076d6326a0000000067f4e1750000000076d6326a
Output for 5.3.17
000000001076cfed000000002c23a113000000001076cfed000000002c23a113
Output for 5.3.16
000000002da862e9000000004571dda3000000002da862e9000000004571dda3
Output for 5.3.15
00000000472488e2000000000344e60600000000472488e2000000000344e606
Output for 5.3.14
000000004e15b2790000000011ffc4ae000000004e15b2790000000011ffc4ae
Output for 5.3.13
000000002695eb520000000017782118000000002695eb520000000017782118
Output for 5.3.12
0000000070344efc0000000023faba580000000070344efc0000000023faba58
Output for 5.3.11
0000000030fcc691000000001d3534ab0000000030fcc691000000001d3534ab
Output for 5.3.10
0000000014039c93000000000c00c6000000000014039c93000000000c00c600
Output for 5.3.9
000000007f8ec24600000000198aa65a000000007f8ec24600000000198aa65a
Output for 5.3.8
00000000055754bc0000000063c1ee2e00000000055754bc0000000063c1ee2e
Output for 5.3.7
000000004322a830000000003374ef23000000004322a830000000003374ef23
Output for 5.3.6
0000000049a2c0270000000044cda9ee0000000049a2c0270000000044cda9ee
Output for 5.3.5
000000007403571a0000000004836f9f000000007403571a0000000004836f9f
Output for 5.3.4
0000000064a4f30b000000000af7ce000000000064a4f30b000000000af7ce00
Output for 5.3.3
000000004a55519700000000011f82fd000000004a55519700000000011f82fd
Output for 5.3.2
000000001c3d321f000000006c72331e000000001c3d321f000000006c72331e
Output for 5.3.1
0000000053361aea00000000599e86450000000053361aea00000000599e8645
Output for 5.3.0
0000000009b93d8d000000005fbf22cf0000000009b93d8d000000005fbf22cf
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.