3v4l.org

run code in 300+ PHP versions simultaneously
<?php $session = <<<'HERE' a:13:{s:10:"session_id";s:32:"7fb1ccf6693311c75acf236177531977";s:10:"ip_address";s:12:"62.57.152.89";s:10:"user_agent";s:101:"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36";s:13:"last_activity";i:1773077596;s:9:"user_data";s:0:"";s:7:"user_id";s:2:"13";s:9:"last_name";s:5:"Sisti";s:10:"first_name";s:6:"Matteo";s:12:"global_admin";s:1:"1";s:14:"read_only_user";s:1:"0";s:8:"is_admin";b:1;s:10:"last_index";s:9:"dashboard";s:11:"search_hash";a:1:{s:32:"3e49c030d12503918650c942a6c32d22";a:3:{s:5:"where";a:2:{s:29:"mcb_invoices.invoice_is_quote";i:0;i:0;s:672:"((( (mcb_clients.type = 'client' AND mcb_invoices.invoice_date_entered <= 1773010800) OR (mcb_clients.type = 'provider' AND mcb_invoices.expense_last_action_date <= 1773010800 AND mcb_invoices.expense_last_action_date > 0 ) )) AND (( (mcb_clients.type = 'client' AND mcb_invoices.invoice_date_entered >= -3600) OR (mcb_clients.type = 'provider' AND mcb_invoices.expense_last_action_date >= -3600 ) )))";}s:8:"where_in";a:1:{s:29:"mcb_invoices.invoice_group_id";a:1:{i:0;s:1:"1";}}s:5:"_info";a:2:{s:9:"from_date";s:10:"01/01/1970";s:7:"to_date";s:10:"03/09/2026";}}}} HERE; echo substr($session, 0, 1290) . "\n -------------------------- \n" . substr($session, 1290); print_r(unserialize($session));

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.30.0290.00717.09
8.5.20.0330.00616.73
8.5.10.0330.00916.73
8.5.00.0370.00516.73
8.4.180.0360.00919.19
8.4.170.0340.00919.71
8.4.160.0330.00819.68
8.4.150.0280.01419.35
8.4.140.0340.01217.57
8.4.130.0340.01017.78
8.4.120.0380.00917.73
8.4.110.0390.01017.99
8.4.100.0360.00817.93
8.4.90.0360.00817.88
8.4.80.0410.00718.00
8.4.70.0360.00917.95
8.4.60.0420.00717.64
8.4.50.0400.01017.76
8.4.40.0320.00317.68
8.4.30.0170.00717.93
8.4.20.0300.01017.84
8.4.10.0390.01017.76
8.3.300.0420.00718.46
8.3.290.0320.00818.19
8.3.280.0160.01018.27
8.3.270.0340.00816.73
8.3.260.0350.00716.77
8.3.250.0390.00816.73
8.3.240.0370.00516.80
8.3.230.0340.01016.73
8.3.220.0380.00716.73
8.3.210.0380.01016.73
8.3.200.0440.00816.73
8.3.190.0350.00716.73
8.3.180.0350.00716.76
8.3.170.0370.01116.73
8.3.160.0350.01116.92
8.3.150.0350.01016.73
8.3.140.0400.00616.73
8.3.130.0280.01216.73
8.3.120.0340.00816.73
8.3.110.0340.00616.73
8.3.100.0360.01016.73
8.3.90.0350.01116.73
8.3.80.0370.00916.73
8.3.70.0440.00916.79
8.3.60.0320.00516.73
8.3.50.0430.00916.73
8.3.40.0360.00918.09
8.3.30.0310.00817.58
8.3.20.0280.01117.73
8.3.10.0340.00617.75
8.3.00.0180.01118.03
8.2.300.0380.00918.04
8.2.290.0280.00916.74
8.2.280.0330.00916.73
8.2.270.0290.00916.73
8.2.260.0330.00816.73
8.2.250.0290.01216.73
8.2.240.0300.00816.73
8.2.230.0380.00716.73
8.2.220.0280.01116.79
8.2.210.0290.00916.73
8.2.200.0330.00616.73
8.2.190.0350.00816.73
8.2.180.0290.01016.73
8.2.170.0300.00718.09
8.2.160.0320.01118.13
8.2.150.0310.01017.98
8.2.140.0340.00618.01
8.2.130.0280.00917.78
8.2.120.0310.00918.08
8.2.110.0310.00917.91
8.2.100.0310.00717.97
8.2.90.0260.01418.00
8.2.80.0270.01217.84
8.2.70.0280.01017.75
8.2.60.0240.01417.82
8.2.50.0330.00617.67
8.2.40.0350.00817.43
8.2.30.0330.00617.71
8.2.20.0340.00617.77
8.2.10.0350.01117.79
8.2.00.0350.00817.63
8.1.340.0360.01017.15
8.1.330.0390.00716.73
8.1.320.0270.01016.73
8.1.310.0290.01116.73
8.1.300.0290.01116.73
8.1.290.0370.00616.73
8.1.280.0320.00816.73
8.1.270.0310.00817.65
8.1.260.0330.01517.59
8.1.250.0320.00517.75
8.1.240.0300.00617.70
8.1.230.0290.00717.71
8.1.220.0300.00517.56
8.1.210.0320.00717.46
8.1.200.0270.01617.63
8.1.190.0300.01017.43
8.1.180.0390.00517.65
8.1.170.0310.01017.73
8.1.160.0360.01117.57
8.1.150.0280.00717.52
8.1.140.0280.01117.49
8.1.130.0250.01017.72
8.1.120.0320.00917.77
8.1.110.0270.01217.72
8.1.100.0300.01017.52
8.1.90.0350.00617.61
8.1.80.0350.00517.74
8.1.70.0380.01017.48
8.1.60.0260.01117.70
8.1.50.0330.00917.65
8.1.40.0360.00817.67
8.1.30.0350.00717.82
8.1.20.0300.00717.94
8.1.10.0300.00817.61
8.1.00.0300.00917.66
8.0.300.0270.00916.75
8.0.290.0330.00716.93
8.0.280.0340.00716.74
8.0.270.0330.00618.78
8.0.260.0330.00217.01
8.0.250.0270.00717.14
8.0.240.0290.00917.15
8.0.230.0290.01217.02
8.0.220.0310.01016.73
8.0.210.0260.00717.10
8.0.200.0270.00917.04
8.0.190.0270.00917.11
8.0.180.0300.00816.93
8.0.170.0340.00616.91
8.0.160.0290.00817.13
8.0.150.0270.01116.89
8.0.140.0280.00517.11
8.0.130.0250.01017.21
8.0.120.0290.00416.97
8.0.110.0270.00817.09
8.0.100.0310.00816.73
8.0.90.0350.00817.07
8.0.80.0290.00816.93
8.0.70.0250.00817.06
8.0.60.0290.00617.07
8.0.50.0270.00916.98
8.0.30.0270.00917.05
8.0.20.0270.00617.27
8.0.10.0250.01017.06
8.0.00.0300.00917.27
7.4.330.0330.00516.93
7.4.320.0240.00716.82
7.4.300.0320.00416.73
7.4.290.0240.00616.88
7.4.280.0260.00916.73
7.4.270.0240.00916.88
7.4.260.0270.00616.73
7.4.250.0240.00916.78
7.4.240.0290.00816.80
7.4.230.0260.00716.73
7.4.220.0280.00616.73
7.4.210.0230.01016.73
7.4.200.0280.00516.75
7.4.190.0290.00716.73
7.4.180.0280.00816.73
7.4.160.0260.00716.82
7.4.150.0240.01416.73
7.4.140.0330.00716.73
7.4.130.0250.00816.73
7.4.120.0260.00716.73
7.4.110.0290.00516.73
7.4.100.0270.01016.73
7.4.90.0270.00816.73
7.4.80.0280.00516.73
7.4.70.0250.00816.73
7.4.60.0260.00916.73
7.4.50.0280.00916.73
7.4.40.0250.01116.73
7.4.30.0210.01016.73
7.4.20.0270.00516.73
7.4.10.0250.00816.73
7.4.00.0250.00916.73
7.3.330.0270.00716.73
7.3.320.0230.01016.73
7.3.310.0270.00916.73
7.3.300.0240.01216.73
7.3.290.0230.00816.73
7.3.280.0250.00616.73
7.3.270.0270.00716.73
7.3.260.0330.00416.73
7.3.250.0250.00616.73
7.3.240.0290.00716.73
7.3.230.0210.01016.73
7.3.220.0260.00716.73
7.3.210.0240.00816.73
7.3.200.0200.01116.73
7.3.190.0260.00716.73
7.3.180.0250.00716.73
7.3.170.0260.00816.73
7.3.160.0260.00816.73
7.3.150.0330.00416.73
7.3.140.0260.00816.73
7.3.130.0310.00716.73
7.3.120.0320.00916.73
7.3.110.0230.00816.73
7.3.100.0270.00416.73
7.3.90.0290.00216.73
7.3.80.0230.00816.73
7.3.70.0250.01016.73
7.3.60.0270.00616.73
7.3.50.0290.01016.73
7.3.40.0280.00516.73
7.3.30.0260.00716.73
7.3.20.0270.01118.12
7.3.10.0240.01218.09
7.3.00.0250.00818.44
7.2.340.0230.00816.73
7.2.330.0250.00816.73
7.2.320.0270.00516.73
7.2.310.0290.01016.73
7.2.300.0250.00816.73
7.2.290.0330.00316.73
7.2.280.0280.00516.73
7.2.270.0260.00716.73
7.2.260.0260.00616.73
7.2.250.0300.00616.73
7.2.240.0310.00616.73
7.2.230.0270.00516.73
7.2.220.0240.01016.73
7.2.210.0260.00816.73
7.2.200.0230.00816.73
7.2.190.0260.00616.73
7.2.180.0260.00716.73
7.2.170.0260.00716.75
7.2.160.0270.00716.73
7.2.150.0310.00518.30
7.2.140.0260.00618.36
7.2.130.0240.00718.44
7.2.120.0260.00718.40
7.2.110.0300.00818.51
7.2.100.0300.00818.44
7.2.90.0260.00918.20
7.2.80.0300.00418.46
7.2.70.0260.00818.46
7.2.60.0280.00818.24
7.2.50.0240.00718.48
7.2.40.0250.00818.54
7.2.30.0240.01018.32
7.2.20.0240.00718.58
7.2.10.0230.00818.51
7.2.00.0280.00518.46
7.1.330.0240.00517.53
7.1.320.0250.00717.52
7.1.310.0250.00417.42
7.1.300.0210.00817.64
7.1.290.0180.01117.43
7.1.280.0200.00917.51
7.1.270.0240.00717.61
7.1.260.0260.01217.37
7.1.250.0270.00617.38
7.1.240.0240.00617.23
7.1.230.0270.00717.36
7.1.220.0210.00917.64
7.1.210.0240.00817.47
7.1.200.0270.00617.52
7.1.190.0360.01217.64
7.1.180.0240.00317.21
7.1.170.0120.00217.41
7.1.160.0100.00417.54
7.1.150.0120.00417.43
7.1.140.0090.00417.54
7.1.130.0120.00117.54
7.1.120.0170.00417.48
7.1.110.0200.00717.46
7.1.100.0200.00917.39
7.1.90.0220.00717.28
7.1.80.0260.00717.43
7.1.70.0210.01017.21
7.1.60.0280.00717.47
7.1.50.0270.00717.30
7.1.40.0220.01317.27
7.1.30.0230.00717.23
7.1.20.0230.00717.41
7.1.10.0200.00917.30
7.1.00.0250.00817.17
7.0.330.0230.00917.20
7.0.320.0220.00716.76
7.0.310.0190.01017.15
7.0.300.0230.00516.96
7.0.290.0260.00717.12
7.0.280.0220.00817.23
7.0.270.0210.00817.19
7.0.260.0250.00417.08
7.0.250.0250.00717.23
7.0.240.0230.00817.35
7.0.230.0190.01017.06
7.0.220.0200.00817.27
7.0.210.0240.00517.25
7.0.200.0260.00717.02
7.0.190.0240.00817.23
7.0.180.0300.00816.98
7.0.170.0240.00517.17
7.0.160.0210.01017.23
7.0.150.0180.01017.19
7.0.140.0200.00817.19
7.0.130.0210.00817.04
7.0.120.0300.00817.12
7.0.110.0230.00617.24
7.0.100.0250.00517.19
7.0.90.0240.00616.97
7.0.80.0250.00617.05
7.0.70.0220.00716.85
7.0.60.0230.00517.04
7.0.50.0230.00716.91
7.0.40.0210.00717.02
7.0.30.0250.00417.32
7.0.20.0300.00516.89
7.0.10.0190.01017.09
7.0.00.0210.00816.93
5.6.400.0300.00616.73
5.6.390.0260.00916.73
5.6.380.0230.00916.73
5.6.370.0250.00716.73
5.6.360.0230.00716.73
5.6.350.0230.00816.73
5.6.340.0220.00716.73
5.6.330.0170.01316.73
5.6.320.0240.00716.73
5.6.310.0240.00516.73
5.6.300.0220.00916.73
5.6.290.0260.00616.73
5.6.280.0270.00416.73
5.6.270.0240.00716.73
5.6.260.0190.01216.73
5.6.250.0250.00616.73
5.6.240.0290.00616.73
5.6.230.0220.00716.73
5.6.220.0250.00816.73
5.6.210.0280.00516.73
5.6.200.0290.00716.73
5.6.190.0220.01116.73
5.6.180.0250.00516.73
5.6.170.0250.00716.73
5.6.160.0250.00416.73
5.6.150.0240.00616.73
5.6.140.0240.00716.73
5.6.130.0290.00816.73
5.6.120.0220.00716.73
5.6.110.0210.00916.73
5.6.100.0250.00616.73
5.6.90.0250.00816.73
5.6.80.0250.00616.73
5.6.70.0270.00316.73
5.6.60.0240.00916.73
5.6.50.0260.01016.73
5.6.40.0250.00516.73
5.6.30.0240.00516.73
5.6.20.0260.00316.73
5.6.10.0200.01116.73
5.6.00.0270.00716.73
5.5.380.0260.00516.73
5.5.370.0240.00816.73
5.5.360.0250.00616.73
5.5.350.0250.00516.73
5.5.340.0210.00816.73
5.5.330.0230.00716.73
5.5.320.0160.00416.73
5.5.310.0250.00616.73
5.5.300.0250.00816.73
5.5.290.0220.00616.73
5.5.280.0230.00616.73
5.5.270.0260.00516.73
5.5.260.0230.00616.73
5.5.250.0240.00616.73
5.5.240.0210.00716.73
5.5.230.0250.00316.73
5.5.220.0250.00416.73
5.5.210.0220.00716.73
5.5.200.0250.00416.73
5.5.190.0230.00816.73
5.5.180.0270.00516.73
5.5.170.0240.00716.73
5.5.160.0240.00816.73
5.5.150.0210.00916.73
5.5.140.0210.00716.73
5.5.130.0240.00716.73
5.5.120.0210.00816.73
5.5.110.0260.00416.73
5.5.100.0260.00316.73
5.5.90.0230.00716.73
5.5.80.0280.00416.73
5.5.70.0280.00816.73
5.5.60.0240.00616.73
5.5.50.0210.00816.73
5.5.40.0210.01016.73
5.5.30.0230.00616.73
5.5.20.0240.00516.73
5.5.10.0190.01016.73
5.5.00.0240.00516.73
5.4.450.0160.00616.73
5.4.440.0210.00616.73
5.4.430.0200.00716.73
5.4.420.0160.00916.73
5.4.410.0170.00616.73
5.4.400.0220.00616.73
5.4.390.0240.00416.73
5.4.380.0170.00816.73
5.4.370.0200.00616.73
5.4.360.0160.00716.73
5.4.350.0210.00216.73
5.4.340.0190.00316.73
5.4.330.0150.00916.73
5.4.320.0150.00716.73
5.4.310.0210.00216.73
5.4.300.0210.00216.73
5.4.290.0180.00616.73
5.4.280.0180.00516.73
5.4.270.0200.00316.73
5.4.260.0180.00716.73
5.4.250.0200.00216.73
5.4.240.0150.00716.73
5.4.230.0190.00416.73
5.4.220.0180.00516.73
5.4.210.0210.00216.73
5.4.200.0170.00616.73
5.4.190.0190.00516.73
5.4.180.0230.00716.73
5.4.170.0280.00616.73
5.4.160.0200.00616.73
5.4.150.0210.00316.73
5.4.140.0180.00416.73
5.4.130.0210.00416.73
5.4.120.0190.00416.73
5.4.110.0160.00716.73
5.4.100.0180.00616.73
5.4.90.0150.00816.73
5.4.80.0170.00616.73
5.4.70.0190.00416.73
5.4.60.0190.00716.73
5.4.50.0160.00616.73
5.4.40.0190.00316.73
5.4.30.0190.00316.73
5.4.20.0210.00616.73
5.4.10.0200.00316.73
5.4.00.0160.00616.73
5.3.290.0180.00716.73
5.3.280.0190.00716.73
5.3.270.0190.00416.73
5.3.260.0180.00616.73
5.3.250.0200.00616.73
5.3.240.0200.00616.73
5.3.230.0220.00516.73
5.3.220.0140.01116.73
5.3.210.0240.00716.73
5.3.200.0170.00716.73
5.3.190.0190.00516.73
5.3.180.0200.00716.73
5.3.170.0160.00716.73
5.3.160.0150.00816.73
5.3.150.0200.00816.73
5.3.140.0170.00616.73
5.3.130.0180.01016.73
5.3.120.0170.01016.73
5.3.110.0170.00616.73
5.3.100.0140.00916.73
5.3.90.0160.00616.73
5.3.80.0160.00716.73
5.3.70.0160.00616.73
5.3.60.0160.00616.73
5.3.50.0160.00816.73
5.3.40.0160.00816.73
5.3.30.0160.00716.73
5.3.20.0200.00716.73
5.3.10.0160.00916.73
5.3.00.0180.00516.73
5.2.170.0160.00516.73
5.2.160.0130.00716.73
5.2.150.0170.00416.73
5.2.140.0150.00716.73
5.2.130.0210.00516.73
5.2.120.0140.00616.73
5.2.110.0130.00616.73
5.2.100.0190.00516.73
5.2.90.0160.00816.73
5.2.80.0150.00416.73
5.2.70.0180.00316.73
5.2.60.0170.00516.73
5.2.50.0150.00616.73
5.2.40.0180.00716.73
5.2.30.0170.00516.73
5.2.20.0140.00716.73
5.2.10.0130.00716.73
5.2.00.0140.00416.73
5.1.60.0120.00316.73
5.1.50.0120.00616.73
5.1.40.0140.00516.73
5.1.30.0150.00416.73
5.1.20.0160.00216.73
5.1.10.0150.00216.73
5.1.00.0090.00716.73
5.0.50.0120.00316.73
5.0.40.0110.00316.73
5.0.30.0110.00416.73
5.0.20.0120.00316.73
5.0.10.0110.00616.73
5.0.00.0110.00316.73
4.4.90.0090.00316.73
4.4.80.0070.00216.73
4.4.70.0090.00116.73
4.4.60.0070.00216.73
4.4.50.0080.00216.73
4.4.40.0060.00416.73
4.4.30.0090.00116.73
4.4.20.0080.00116.73
4.4.10.0080.00316.73
4.4.00.0080.00316.73
4.3.110.0070.00316.73
4.3.100.0060.00316.73
4.3.90.0080.00116.73
4.3.80.0070.00216.73
4.3.70.0080.00316.73
4.3.60.0080.00216.73
4.3.50.0060.00416.73
4.3.40.0070.00316.73
4.3.30.0040.00316.73
4.3.20.0060.00116.73
4.3.10.0030.00416.73
4.3.00.0040.00316.73

preferences:
62.33 ms | 403 KiB | 5 Q