3v4l.org

run code in 300+ PHP versions simultaneously
<?php assert_options(ASSERT_CALLBACK, "assert_handler"); function assert_handler($file, $line, $assertion, $description="") { echo "* assert_handler('$file', '$line', '$assertion', '$description') called"; return true; } assert('false == true'); assert(false == true); assert(false == true, "Expected assert() to fail for this test and emit the actual test as 3rd parameter to handler");

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.40.0070.01119.34
8.3.30.0090.00918.87
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0080.00026.16
8.2.170.0040.01222.96
8.2.160.0070.00722.96
8.2.150.0030.00525.66
8.2.140.0060.00324.66
8.2.130.0000.00726.16
8.2.120.0040.00426.35
8.2.110.0000.00922.16
8.2.100.0040.00717.91
8.2.90.0050.00317.75
8.2.80.0060.00318.91
8.2.70.0060.00318.05
8.2.60.0000.00818.09
8.2.50.0000.00819.41
8.2.40.0050.00321.10
8.2.30.0040.00419.23
8.2.20.0030.00517.97
8.2.10.0000.00719.30
8.2.00.0000.00719.25
8.1.270.0110.00323.77
8.1.260.0070.00028.09
8.1.250.0070.00028.09
8.1.240.0140.00723.87
8.1.230.0060.00617.83
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0080.00017.23
8.1.180.0000.00719.02
8.1.170.0050.00318.55
8.1.160.0030.00318.95
8.1.150.0050.00218.72
8.1.140.0040.00418.82
8.1.130.0000.00720.07
8.1.120.0030.00317.31
8.1.110.0040.00417.31
8.1.100.0040.00417.29
8.1.90.0070.00017.34
8.1.80.0000.00717.37
8.1.70.0000.00717.33
8.1.60.0050.00317.44
8.1.50.0000.01017.49
8.1.40.0000.00817.48
8.1.30.0080.00017.54
8.1.20.0000.00817.48
8.1.10.0080.00017.40
8.1.00.0040.00417.44
8.0.300.0000.00718.77
8.0.290.0060.00316.88
8.0.280.0030.00318.36
8.0.270.0030.00316.92
8.0.260.0030.00318.35
8.0.250.0020.00516.91
8.0.240.0000.00716.98
8.0.230.0040.00416.88
8.0.220.0040.00416.86
8.0.210.0000.00716.83
8.0.200.0040.00417.06
8.0.190.0080.00017.02
8.0.180.0040.00416.97
8.0.170.0000.00816.99
8.0.160.0000.00716.85
8.0.150.0070.00016.82
8.0.140.0080.00016.82
8.0.130.0050.00013.35
8.0.120.0050.00216.95
8.0.110.0070.00016.82
8.0.100.0000.00816.96
8.0.90.0030.00616.79
8.0.80.0040.01116.95
8.0.70.0000.00716.97
8.0.60.0030.00516.81
8.0.50.0000.00716.77
8.0.30.0100.00717.22
8.0.20.0120.00616.96
8.0.10.0080.00017.07
8.0.00.0070.01016.87
7.4.330.0020.00215.55
7.4.320.0060.00016.48
7.4.300.0000.00616.31
7.4.290.0050.00216.48
7.4.280.0040.00416.37
7.4.270.0050.00216.51
7.4.260.0000.00613.14
7.4.250.0040.00416.36
7.4.240.0030.00516.39
7.4.230.0040.00416.32
7.4.220.0060.00116.29
7.4.210.0090.00716.41
7.4.200.0040.00416.25
7.4.130.0130.00716.42
7.4.120.0060.01916.45
7.4.110.0130.00316.16
7.4.100.0070.01116.34
7.4.90.0120.00416.43
7.4.80.0120.00419.39
7.4.70.0090.00916.46
7.4.60.0090.00516.81
7.4.50.0070.01116.24
7.4.40.0110.00916.21
7.4.30.0110.01316.07
7.4.20.0130.00615.85
7.4.10.0150.00616.02
7.4.00.0080.01016.40
7.3.330.0070.00016.45
7.3.320.0060.00013.14
7.3.310.0000.00716.46
7.3.300.0040.00416.33
7.3.290.0030.01216.37
7.3.260.0060.01516.49
7.3.240.0070.01016.42
7.3.230.0090.01016.49
7.3.210.0100.00716.59
7.3.200.0100.00716.51
7.3.190.0080.00816.50
7.3.180.0070.01216.37
7.3.170.0070.01116.43
7.3.160.0120.01216.21
7.3.150.0150.01016.33
7.3.140.0080.01116.45
7.3.130.0160.00316.46
7.3.120.0050.01416.32
7.3.110.0160.00815.95
7.3.100.0070.01116.24
7.3.90.0110.00516.16
7.3.80.0080.01016.32
7.3.70.0030.01316.18
7.3.60.0100.01016.27
7.3.50.0100.00716.37
7.3.40.0100.00616.27
7.3.30.0150.00416.38
7.3.20.0150.00616.41
7.3.10.0380.00716.40
7.3.00.0200.00416.28
7.2.330.0190.00016.60
7.2.320.0130.00316.68
7.2.310.0140.00316.27
7.2.300.0050.01616.45
7.2.290.0110.01116.36
7.2.280.0050.01416.23
7.2.270.0140.01016.22
7.2.260.0050.01416.53
7.2.250.0070.00916.34
7.2.240.0140.00916.22
7.2.230.0090.00916.51
7.2.220.0060.01316.18
7.2.210.0090.00916.13
7.2.200.0180.00316.36
7.2.190.0100.00716.15
7.2.180.0090.00916.49
7.2.170.0060.01216.48
7.2.160.0070.01016.40
7.2.150.0120.00916.43
7.2.140.0150.00916.37
7.2.130.0150.00716.41
7.2.120.0200.00816.71
7.2.110.0210.00316.30
7.2.100.0150.00816.49
7.2.90.0200.01016.61
7.2.80.0180.00616.34
7.2.70.0180.00716.25
7.2.60.0050.02116.43
7.2.50.0160.00916.30
7.2.40.0210.00716.63
7.2.30.0170.00716.54
7.2.20.0260.00416.14
7.2.10.0190.00616.38
7.2.00.0110.01116.09
7.1.330.0210.00915.65
7.1.320.0160.01115.52
7.1.310.0150.01515.52
7.1.300.0200.00015.63
7.1.290.0060.01515.62
7.1.280.0160.00615.54
7.1.270.0130.00815.48
7.1.260.0110.01115.48
7.1.250.0140.00915.46
7.1.240.0140.00315.50
7.1.230.0150.00515.45
7.1.220.0040.01915.48
7.1.210.0040.01915.38
7.1.200.0100.01515.36
7.1.190.0130.01015.39
7.1.180.0410.00315.36
7.1.170.0190.00615.36
7.1.160.0180.00915.55
7.1.150.0120.01115.38
7.1.140.0220.00015.37
7.1.130.0190.01015.46
7.1.120.0180.00815.33
7.1.110.0120.00815.43
7.1.100.0170.00715.41
7.1.90.0370.01515.20
7.1.80.0110.01115.08
7.1.70.0170.00815.32
7.1.60.0150.00915.13
7.1.50.0140.01015.37
7.1.40.0140.01115.51
7.1.30.0110.01315.09
7.1.20.0170.00615.29
7.1.10.0170.00715.25
7.1.00.0150.00915.11
7.0.330.0160.00715.25
7.0.320.0210.00915.13
7.0.310.0080.01115.23
7.0.300.0210.00715.21
7.0.290.0300.02015.09
7.0.280.0130.00715.25
7.0.270.0170.01115.26
7.0.260.0170.00715.13
7.0.250.0100.01015.28
7.0.240.0120.01215.09
7.0.230.0190.00415.30
7.0.220.0190.00614.74
7.0.210.0150.01014.95
7.0.200.0140.00814.95
7.0.190.0160.00615.14
7.0.180.0200.00415.24
7.0.170.0240.00015.18
7.0.160.0180.00314.75
7.0.150.0330.00514.94
7.0.140.0070.01315.13
7.0.130.0130.01314.98
7.0.120.0190.00914.93
7.0.110.0390.01215.05
7.0.100.0170.00614.95
7.0.90.0220.00314.98
7.0.80.0130.00915.17
7.0.70.0160.00414.90
7.0.60.0220.00415.09
7.0.50.0140.00915.24
7.0.40.0210.00615.13
7.0.30.0210.00215.19
7.0.20.0080.01515.13
7.0.10.0190.00315.10
7.0.00.0230.00015.03
5.6.400.0210.00815.75
5.6.390.0190.00316.19
5.6.380.0000.02315.82
5.6.370.0150.00615.96
5.6.360.0100.01015.84
5.6.350.0170.00715.76
5.6.340.0150.01415.89
5.6.330.0180.01415.90
5.6.320.0070.01315.90
5.6.310.0100.01315.40
5.6.300.0220.00315.64
5.6.290.0160.01215.64
5.6.280.0260.00615.48
5.6.270.0180.01315.46
5.6.260.0200.00615.85
5.6.250.0170.00815.52
5.6.240.0170.00615.87
5.6.230.0150.00915.71
5.6.220.0230.00315.53
5.6.210.0180.00715.67
5.6.200.0140.01015.59
5.6.190.0140.01415.81
5.6.180.0170.01015.70
5.6.170.0170.01315.40
5.6.160.0080.02015.74
5.6.150.0210.01115.70
5.6.140.0180.00915.71
5.6.130.0240.00915.64
5.6.120.0190.01215.47
5.6.110.0150.01215.66
5.6.100.0160.01315.84
5.6.90.0200.00615.45
5.6.80.0180.00715.38
5.6.70.0190.00815.59
5.6.60.0180.01415.61
5.6.50.0180.01415.90
5.6.40.0100.01415.47
5.6.30.0150.01215.76
5.6.20.0120.01815.59
5.6.10.0260.00715.84
5.6.00.0250.01215.47
5.5.380.0160.01115.62
5.5.370.0160.01315.63
5.5.360.0170.01415.67
5.5.350.0200.01215.70
5.5.340.0170.01015.85
5.5.330.0160.01416.13
5.5.320.0260.00315.75
5.5.310.0210.01215.98
5.5.300.0150.01615.61
5.5.290.0250.01515.71
5.5.280.0240.00715.68
5.5.270.0220.01115.54
5.5.260.0260.00415.65
5.5.250.0260.00315.63
5.5.240.0180.01515.64
5.5.230.0200.00915.67
5.5.220.0180.00915.71
5.5.210.0260.00815.81
5.5.200.0180.01115.76
5.5.190.0270.00815.69
5.5.180.0210.00915.42
5.5.170.0220.00615.70
5.5.160.0230.00815.53
5.5.150.0180.01015.61
5.5.140.0240.00615.55
5.5.130.0250.00615.79
5.5.120.0150.01315.81
5.5.110.0140.01415.67
5.5.100.0130.01815.66
5.5.90.0170.00915.84
5.5.80.0210.00715.63
5.5.70.0290.00015.63
5.5.60.0110.02015.75
5.5.50.0230.01015.81
5.5.40.0240.01115.60
5.5.30.0170.01315.56
5.5.20.0200.01215.76
5.5.10.0200.01415.64
5.5.00.0270.00715.43
5.4.450.0150.01112.48
5.4.440.0130.00712.62
5.4.430.0160.00912.46
5.4.420.0180.00712.68
5.4.410.0140.01412.71
5.4.400.0230.00012.55
5.4.390.0170.00612.42
5.4.380.0150.01112.42
5.4.370.0240.00712.43
5.4.360.0170.00412.49
5.4.350.0110.01112.41
5.4.340.0230.00612.49
5.4.330.0170.00912.70
5.4.320.0220.00612.52
5.4.310.0180.00312.41
5.4.300.0170.00612.70
5.4.290.0170.00312.58
5.4.280.0130.00912.63
5.4.270.0230.00012.45
5.4.260.0150.00812.82
5.4.250.0200.00512.45
5.4.240.0190.00712.73
5.4.230.0160.00612.39
5.4.220.0120.01212.73
5.4.210.0180.00712.39
5.4.200.0190.00412.47
5.4.190.0120.01212.46
5.4.180.0260.00312.38
5.4.170.0190.00612.71
5.4.160.0170.01112.49
5.4.150.0150.00712.51
5.4.140.0160.01312.53
5.4.130.0180.00412.68
5.4.120.0100.01112.69
5.4.110.0210.00612.43
5.4.100.0150.00912.47
5.4.90.0170.00612.77
5.4.80.0150.00712.44
5.4.70.0210.00312.53
5.4.60.0100.01312.55
5.4.50.0140.00712.46
5.4.40.0130.00912.55
5.4.30.0200.00612.53
5.4.20.0190.00712.52
5.4.10.0180.00312.64
5.4.00.0090.01412.39
5.3.290.0140.00913.03
5.3.280.0190.01012.91
5.3.270.0110.01913.07
5.3.260.0160.00812.99
5.3.250.0160.01012.90
5.3.240.0150.00812.78
5.3.230.0100.01312.91
5.3.220.0160.00912.70
5.3.210.0230.00712.77
5.3.200.0090.01412.85
5.3.190.0240.00013.12
5.3.180.0160.01112.94
5.3.170.0160.00812.95
5.3.160.0210.00412.95
5.3.150.0140.01112.95
5.3.140.0120.01213.08
5.3.130.0240.00712.89
5.3.120.0180.00813.07
5.3.110.0160.01013.02
5.3.100.0180.01112.94
5.3.90.0140.00913.07
5.3.80.0140.00712.90
5.3.70.0190.01012.87
5.3.60.0180.00612.98
5.3.50.0150.00912.96
5.3.40.0140.01012.89
5.3.30.0100.01412.88
5.3.20.0120.01312.93
5.3.10.0220.00012.73
5.3.00.0170.00812.64
5.2.170.0080.01112.14
5.2.160.0140.00712.14
5.2.150.0150.00912.14
5.2.140.0140.00712.14
5.2.130.0140.00712.14
5.2.120.0110.00912.14
5.2.110.0140.00612.14
5.2.100.0070.01412.14
5.2.90.0110.00812.14
5.2.80.0100.01012.14
5.2.70.0140.00512.14
5.2.60.0170.00312.14
5.2.50.0160.00512.14
5.2.40.0110.01112.14
5.2.30.0120.00612.14
5.2.20.0140.00312.14
5.2.10.0110.00712.14
5.2.00.0140.00412.14
5.1.60.0070.01012.14
5.1.50.0090.00612.14
5.1.40.0100.00812.14
5.1.30.0140.00512.14
5.1.20.0130.00512.14
5.1.10.0090.00912.14
5.1.00.0130.00712.14
5.0.50.0100.00412.14
5.0.40.0110.00712.14
5.0.30.0080.00912.14
5.0.20.0070.00712.14
5.0.10.0110.00612.14
5.0.00.0100.00312.14
4.4.90.0050.00512.14
4.4.80.0110.00012.14
4.4.70.0050.00312.14
4.4.60.0090.00012.14
4.4.50.0090.00012.14
4.4.40.0040.00412.14
4.4.30.0040.00712.14
4.4.20.0100.00012.14
4.4.10.0060.00312.14
4.4.00.0080.00412.14
4.3.110.0070.00212.14
4.3.100.0060.00612.14
4.3.90.0070.00212.14
4.3.80.0070.00312.14
4.3.70.0100.00012.14
4.3.60.0040.00512.14
4.3.50.0090.00012.14
4.3.40.0040.00412.14
4.3.30.0060.00312.14
4.3.20.0070.00012.14
4.3.10.0030.00412.14
4.3.00.0040.00412.14

preferences:
56.5 ms | 400 KiB | 5 Q