3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Ref { public $input; public $flag; } $obj = new Ref(); // On lie input et flag par référence $obj->input = &$obj->flag; // Sérialisation et encodage $payload = base64_encode(serialize($obj)); echo $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.60.0260.00916.64
8.5.50.0260.00916.23
8.5.40.0260.00716.45
8.5.30.0300.00716.42
8.5.20.0250.00316.32
8.5.10.0290.00416.29
8.5.00.0110.00516.59
8.4.210.0050.00819.63
8.4.200.0140.00419.50
8.4.190.0160.00419.34
8.4.180.0140.00519.35
8.4.170.0130.00519.50
8.4.160.0130.00619.48
8.4.150.0140.00519.65
8.4.140.0170.00317.53
8.4.130.0180.00317.46
8.4.120.0130.00617.61
8.4.110.0160.00417.77
8.4.100.0140.00617.71
8.4.90.0160.00317.53
8.4.80.0180.00217.66
8.4.70.0180.00817.41
8.4.60.0190.00317.58
8.4.50.0170.00517.39
8.4.40.0180.00117.71
8.4.30.0160.00417.23
8.4.20.0160.00517.73
8.4.10.0170.00417.59
8.3.310.0090.00918.04
8.3.300.0110.00617.98
8.3.290.0120.00418.24
8.3.280.0190.00218.05
8.3.270.0270.00616.52
8.3.260.0150.00416.55
8.3.250.0160.00316.42
8.3.240.0170.00216.52
8.3.230.0170.00216.50
8.3.220.0180.00216.31
8.3.210.0170.00316.52
8.3.200.0170.00216.34
8.3.190.0150.00416.37
8.3.180.0100.00616.38
8.3.170.0170.00216.48
8.3.160.0150.00316.51
8.3.150.0140.00716.59
8.3.140.0160.00316.32
8.3.130.0150.00216.34
8.3.120.0150.00316.51
8.3.110.0120.00516.16
8.3.100.0160.00416.31
8.3.90.0130.00616.13
8.3.80.0180.00316.37
8.3.70.0150.00616.39
8.3.60.0160.00416.54
8.3.50.0120.00816.46
8.3.40.0170.00117.85
8.3.30.0130.00517.62
8.3.20.0130.00417.84
8.3.10.0160.00617.66
8.3.00.0180.00317.55
8.2.310.0150.00317.61

preferences:
47.94 ms | 734 KiB | 5 Q