3v4l.org

run code in 300+ PHP versions simultaneously
<?php $payload = json_decode('{ "object": { "id": "price_1SPvRnBP4wK2F43tuyWnIXhE", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1762305819, "currency": "usd", "custom_unit_amount": null, "livemode": false, "lookup_key": null, "metadata": {}, "nickname": null, "product": "prod_TMelghXmIUmavW", "recurring": { "interval": "month", "interval_count": 1, "meter": null, "trial_period_days": null, "usage_type": "licensed" }, "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", "unit_amount": 10000, "unit_amount_decimal": "10000" }, "previous_attributes": null }', true); var_dump(sprintf('stripe_evt_%s', hash('sha256', serialize($payload))));

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.5.00.0100.01122.61
8.4.150.0090.00716.87
8.4.140.0360.00917.63
8.4.130.0330.01117.40
8.4.120.0400.00717.46
8.4.110.0400.00617.67
8.4.100.0400.00817.65
8.4.90.0380.00917.54
8.4.80.0370.01017.75
8.4.70.0410.00817.55
8.4.60.0440.00917.64
8.4.50.0390.01217.63
8.4.40.0390.01017.40
8.4.30.0360.01217.45
8.4.20.0400.00917.41
8.4.10.0400.00917.38
8.3.280.0060.00516.09
8.3.270.0390.00716.60
8.3.260.0370.00816.44
8.3.250.0340.01016.45
8.3.240.0380.00916.45
8.3.230.0380.00816.46
8.3.220.0370.00916.38
8.3.210.0370.00816.39
8.3.200.0390.00816.42
8.3.190.0370.00916.48
8.3.180.0390.01016.36
8.3.170.0370.01016.45
8.3.160.0380.00916.34
8.3.150.0400.00816.54
8.3.140.0380.01116.44
8.3.130.0380.00716.43
8.3.120.0340.00916.51
8.3.110.0350.00716.27
8.3.100.0410.01016.33
8.3.90.0380.01316.41
8.3.80.0430.00816.45
8.3.70.0390.00916.40
8.3.60.0390.00816.48
8.3.50.0390.00916.60
8.3.40.0380.00917.40
8.3.30.0310.00817.30
8.3.20.0310.00817.38
8.3.10.0290.00817.30
8.3.00.0300.00817.44
8.2.290.0290.00916.53
8.2.280.0290.00916.61
8.2.270.0310.01116.23
8.2.260.0300.01116.26
8.2.250.0290.01116.38
8.2.240.0330.00716.20
8.2.230.0350.00716.37
8.2.220.0350.00816.40
8.2.210.0320.00716.31
8.2.200.0290.01116.25
8.2.190.0320.00916.28
8.2.180.0320.00916.26
8.2.170.0370.01017.63
8.2.160.0370.00817.47
8.2.150.0370.00717.34
8.2.140.0330.00917.44
8.2.130.0350.00917.28
8.2.120.0330.01117.48
8.2.110.0390.00817.55
8.2.100.0360.01117.50
8.2.90.0370.00917.43
8.2.80.0390.00917.31
8.2.70.0380.00817.42
8.2.60.0330.01117.27
8.2.50.0440.01017.20
8.2.40.0360.01017.30
8.2.30.0290.01117.47
8.2.20.0320.00817.45
8.2.10.0350.00917.32
8.2.00.0330.01017.25

preferences:
28.32 ms | 403 KiB | 5 Q