Skip to content

Conversation

@saeedvaziry
Copy link
Member

@saeedvaziry saeedvaziry commented Jan 20, 2025

closes #8 and #106

@luanfreitasdev
Copy link
Member

Will this stay like this? or maybe we can capture it with VarDumper?

image

@saeedvaziry
Copy link
Member Author

Actually i've been playing with this to capture like you said but cannot get all scenarios work

@saeedvaziry
Copy link
Member Author

The idea is to get it working like this:

echo 1;

dump(2);

dump(3);

dd(4);

to result in

1
2
3
4

@saeedvaziry
Copy link
Member Author

if it was just capturing the dumps it would be easier. but I want to also have the last statement result from psysh.

for example

echo 1;

dump(2);

$a = 3;

should result in

1
2
3

@saeedvaziry
Copy link
Member Author

So far
CleanShot 2025-01-21 at 19 19 50@2x

@saeedvaziry saeedvaziry merged commit 0ed9203 into main Jan 25, 2025
1 check passed
@saeedvaziry saeedvaziry deleted the fix-dd branch January 25, 2025 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot redeclare dd()

3 participants