3v4l.org

run code in 300+ PHP versions simultaneously
<?php $superheroes = array( "spider-man" => array( "name" => "Peter Parker", "email" => "peterparker@mail.com", ), "super-man" => array( "name" => "Clark Kent", "email" => "clarkkent@mail.com", ), "iron-man" => array( "name" => "Harry Potter", "email" => "harrypotter@mail.com", ) ); print_r($superheroes);

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.3.60.0120.00816.63
8.3.50.0090.01021.01
8.3.40.0060.00918.70
8.3.30.0110.00318.46
8.3.20.0040.00420.16
8.3.10.0040.00423.52
8.3.00.0040.00421.68
8.2.180.0120.00318.04
8.2.170.0070.01418.91
8.2.160.0120.00322.96
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0040.00421.01
8.2.120.0050.00326.35
8.2.110.0000.00920.99
8.2.100.0090.00317.90
8.2.90.0000.00719.05
8.2.80.0000.00817.97
8.2.70.0030.00617.50
8.2.60.0000.00817.93
8.2.50.0100.00018.09
8.2.40.0050.00320.54
8.2.30.0000.00719.24
8.2.20.0000.00717.48
8.2.10.0040.00417.92
8.2.00.0080.00018.07
8.1.280.0140.00425.92
8.1.270.0030.00522.19
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0030.00622.42
8.1.230.0070.00419.00
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0000.00917.23
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0040.00418.56
8.1.160.0070.00020.65
8.1.150.0040.00418.82
8.1.140.0000.00819.42
8.1.130.0070.00017.62
8.1.120.0000.00717.32
8.1.110.0000.00817.28
8.1.100.0040.00417.36
8.1.90.0030.00617.38
8.1.80.0040.00417.32
8.1.70.0000.00717.42
8.1.60.0060.00317.34
8.1.50.0040.00417.31
8.1.40.0000.00717.45
8.1.30.0030.00617.60
8.1.20.0000.00817.41
8.1.10.0040.00417.47
8.1.00.0000.00817.40
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00718.37
8.0.270.0070.00017.18
8.0.260.0040.00417.05
8.0.250.0000.00716.93
8.0.240.0000.00816.90
8.0.230.0000.00616.77
8.0.220.0000.00716.86
8.0.210.0030.00316.81
8.0.200.0000.00716.75
8.0.190.0050.00316.82
8.0.180.0050.00316.83
8.0.170.0030.00516.88
8.0.160.0000.00816.82
8.0.150.0030.00516.72
8.0.140.0040.00416.64
8.0.130.0060.00013.20
8.0.120.0040.00416.76
8.0.110.0080.00016.71
8.0.100.0000.00716.81
8.0.90.0040.00416.85
8.0.80.0100.00716.83
8.0.70.0030.00516.59
8.0.60.0030.00516.81
8.0.50.0040.00416.86
8.0.30.0100.00917.02
8.0.20.0070.01217.40
8.0.10.0050.00216.93
8.0.00.0080.01016.68
7.4.330.0000.00516.76
7.4.320.0000.00616.46
7.4.300.0030.00316.50
7.4.290.0030.00316.50
7.4.280.0050.00516.56
7.4.270.0000.00716.53
7.4.260.0000.00716.46
7.4.250.0050.00216.48
7.4.240.0070.00016.57
7.4.230.0070.00016.41
7.4.220.0070.01116.46
7.4.210.0050.01116.50
7.4.200.0000.00816.17
7.4.160.0120.00616.45
7.4.150.0170.00417.40
7.4.140.0120.00617.86
7.4.130.0030.01716.40
7.4.120.0140.00416.51
7.4.110.0060.01216.45
7.4.100.0130.00916.31
7.4.90.0140.00316.32
7.4.80.0070.01119.39
7.4.70.0100.00716.21
7.4.60.0060.01216.43
7.4.50.0030.01016.14
7.4.40.0060.00916.48
7.4.30.0090.01316.39
7.4.00.0100.00714.82
7.3.330.0050.00013.00
7.3.320.0030.00312.98
7.3.310.0050.00315.96
7.3.300.0070.00015.91
7.3.290.0000.00716.04
7.3.280.0060.01016.13
7.3.270.0110.01017.40
7.3.260.0100.00716.36
7.3.240.0110.00816.14
7.3.230.0170.00016.39
7.3.210.0060.01216.16
7.3.200.0030.01619.39
7.3.190.0110.01116.57
7.3.180.0100.00616.16
7.3.170.0100.00616.27
7.3.160.0140.00316.29
7.3.120.0140.00314.62
7.3.110.0030.01314.61
7.3.100.0030.00914.52
7.3.90.0030.01014.38
7.3.80.0030.00714.42
7.3.70.0120.00614.51
7.3.60.0070.01014.54
7.3.50.0040.01114.55
7.3.40.0060.01114.76
7.3.30.0030.01314.37
7.3.20.0000.01316.65
7.3.10.0070.00416.72
7.3.00.0100.00316.31
7.2.330.0060.01116.53
7.2.320.0100.00716.26
7.2.310.0060.01016.59
7.2.300.0070.01116.32
7.2.290.0080.00816.31
7.2.250.0070.01115.02
7.2.240.0040.01414.95
7.2.230.0030.01214.77
7.2.220.0080.00614.98
7.2.210.0000.00814.40
7.2.200.0130.00314.56
7.2.190.0080.00414.86
7.2.180.0070.01114.70
7.2.170.0080.00814.54
7.2.00.0040.01419.30
7.1.330.0000.01415.73
7.1.320.0070.00715.75
7.1.310.0000.01015.60
7.1.300.0000.01415.66
7.1.290.0120.00315.63
7.1.280.0000.01215.33
7.1.270.0070.00315.72
7.1.260.0030.00915.63
7.1.100.0130.00318.11
7.1.70.0000.01316.89
7.1.60.0070.01719.40
7.1.50.0190.01616.79
7.1.00.0070.07322.36
7.0.200.0030.00616.71
7.0.60.0200.06321.84
7.0.50.0030.04017.84
7.0.40.0130.08020.30
7.0.30.0300.05020.04
7.0.20.0230.06319.99
7.0.10.0000.04720.05
7.0.00.0030.07020.30
5.6.280.0030.06021.12
5.6.210.0070.03720.73
5.6.200.0070.07318.22
5.6.190.0070.08320.41
5.6.180.0330.08720.61
5.6.170.0200.04720.50
5.6.160.0170.04320.44
5.6.150.0030.08718.21
5.6.140.0070.05318.18
5.6.130.0070.05318.11
5.6.120.0030.05021.02
5.6.110.0100.06020.98
5.6.100.0130.06021.13
5.6.90.0230.05321.07
5.6.80.0130.07020.39
5.5.350.0370.07020.42
5.5.340.0030.08018.01
5.5.330.0030.07720.36
5.5.320.0330.07020.20
5.5.310.0230.07720.30
5.5.300.0070.08317.92
5.5.290.0070.08017.96
5.5.280.0070.05720.87
5.5.270.0070.07020.75
5.5.260.0030.04020.84
5.5.250.0070.06720.58
5.5.240.0170.06720.04

preferences:
31.34 ms | 401 KiB | 5 Q